diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2022-07-12 21:18:32 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-07-21 14:43:58 +0300 |
commit | 722658f86a23e5aa46f321e370503f557b20b0c8 (patch) | |
tree | 0be634cf346bc5e61eb7c281e969f49bccca7744 /drivers/hid/amd-sfh-hid/amd_sfh_common.h | |
parent | 9acadc7256b16333f8e3e1b120471a9cb545a7e8 (diff) | |
download | linux-722658f86a23e5aa46f321e370503f557b20b0c8.tar.xz |
HID: amd_sfh: Add remove operation in amd_mp2_ops
Add remove operation as part of amd_mp2_ops structure to support all
AMD SOCs and use wherever applicable.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/amd-sfh-hid/amd_sfh_common.h')
-rw-r--r-- | drivers/hid/amd-sfh-hid/amd_sfh_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_common.h b/drivers/hid/amd-sfh-hid/amd_sfh_common.h index 2b45d507ead7..afecf7d2bebe 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_common.h +++ b/drivers/hid/amd-sfh-hid/amd_sfh_common.h @@ -56,6 +56,7 @@ struct amd_mp2_ops { int (*discovery_status)(struct amd_mp2_dev *privdata); void (*suspend)(struct amd_mp2_dev *mp2); void (*resume)(struct amd_mp2_dev *mp2); + void (*remove)(void *privdata); int (*get_rep_desc)(int sensor_idx, u8 rep_desc[]); u32 (*get_desc_sz)(int sensor_idx, int descriptor_name); u8 (*get_feat_rep)(int sensor_idx, int report_id, u8 *feature_report); |