linux/drivers/hid/amd-sfh-hid
Basavaraj Natikar 4e71d26289 HID: amd_sfh: rename float_to_int() to amd_sfh_float_to_int()
Current amd_sfh driver has float_to_int() to convert units from
float to int. This is fine until this function gets called outside of
the current scope of file.

Add a prefix "amd_sfh" to float_to_int() so that function represents
the driver name. This function will be called by multiple callers in the
next patch.

Link: https://lore.kernel.org/all/ad064333-48a4-4cfa-9428-69e8a7c44667@redhat.com/
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Co-developed-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2024-01-04 15:19:17 +01:00
..
hid_descriptor HID: amd_sfh: Add light chromaticity support 2023-09-24 13:31:33 +01:00
sfh1_1 HID: amd_sfh: rename float_to_int() to amd_sfh_float_to_int() 2024-01-04 15:19:17 +01:00
amd_sfh_client.c HID: amd_sfh: Split sensor and HID initialization 2023-05-23 15:58:30 +02:00
amd_sfh_common.h HID: amd_sfh: Implement SFH1.1 functionality 2022-07-21 13:44:04 +02:00
amd_sfh_hid.c HID: amd_sfh: Constify lowlevel HID driver 2023-02-06 15:08:44 +01:00
amd_sfh_hid.h HID: amd_sfh: Fix max supported HID devices 2023-04-25 10:58:28 +02:00
amd_sfh_pcie.c HID: amd_sfh: Support for additional light sensor 2023-04-13 15:57:14 +02:00
amd_sfh_pcie.h HID: amd_sfh: Support for additional light sensor 2023-04-13 15:57:14 +02:00
Kconfig HID: stop drivers from selecting CONFIG_HID 2023-01-18 16:14:04 +01:00
Makefile HID: amd_sfh: Implement SFH1.1 functionality 2022-07-21 13:44:04 +02:00