diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2023-12-20 08:00:40 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-01-04 15:19:17 +0100 |
commit | 4e71d262899d7bab1f0c65936a2e639afeb83e4d (patch) | |
tree | 29e7081c27f1405341aebb71b8b16ad037d986bf /drivers/hid/hid-prodikeys.c | |
parent | Merge tag 'hid-for-linus-2023121901' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
download | linux-4e71d262899d7bab1f0c65936a2e639afeb83e4d.tar.xz linux-4e71d262899d7bab1f0c65936a2e639afeb83e4d.zip |
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>
Diffstat (limited to 'drivers/hid/hid-prodikeys.c')
0 files changed, 0 insertions, 0 deletions