Messages in this thread | | | Date | Fri, 14 Oct 2022 13:41:59 -0700 | Subject | Re: [PATCH v2 1/2] scsi: ufs: core: Remove unnecessary if statement | From | Bart Van Assche <> |
| |
On 10/14/22 12:20, Bean Huo wrote: > I am working on the Advanced RPMB, and trying to seperate normal unit > descriptor and RPMB unit descriptor, will let you know if it is > possible. or if you know the solution, please let me know, thanks.
Hi Bean,
How about setting .is_visible member of struct attribute_group in the UFS driver and letting that callback decide which sysfs attributes are visible depending on the logical unit type?
Thanks,
Bart.
| |