diff options
author | Dmitry Bogdanov | 2021-09-10 11:41:27 +0300 |
---|---|---|
committer | Martin K. Petersen | 2021-10-04 23:27:38 -0400 |
commit | 80ed33c8ba932480be99f73dc3f29e1f7da1582c (patch) | |
tree | 59a501745fe4a301e1bdd143783317b52cc5fa73 /drivers/pwm/core.c | |
parent | cdf7f6a10d48589a819a98f0e3dd262079a38120 (diff) |
scsi: target: core: Add common tpg/enable attribute
Many fabric modules provide their own implementation of enable attribute in
tpg.
Provide a way to remove code duplication in the fabric modules and
automatically add "enable" attribute if a fabric module has an
implementation of fabric_enable_tpg().
Link: https://lore.kernel.org/r/20210910084133.17956-2-d.bogdanov@yadro.com
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pwm/core.c')
0 files changed, 0 insertions, 0 deletions