[PATCH 1/8] HID: amd_sfh: rename float_to_int() to amd_sfh_float_to_int()

Jiri Kosina jkosina at suse.com
Wed Apr 3 12:11:49 UTC 2024


On Fri, 29 Mar 2024, Li Ma wrote:

> From: Basavaraj Natikar <Basavaraj.Natikar at amd.com>
> 
> [Backport]: to fix amd_sfh init fail issue in ASDN
> 
> 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 at linux.intel.com>
> Co-developed-by: Shyam Sundar S K <Shyam-sundar.S-k at amd.com>
> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k at amd.com>
> Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar at amd.com>
> Signed-off-by: Jiri Kosina <jkosina at suse.com>
> (cherry picked from commit 4e71d262899d7bab1f0c65936a2e639afeb83e4d)

What am I supposed to do with this? All of this code has already been 
upstreamed.

-- 
Jiri Kosina
SUSE Labs


More information about the amd-gfx mailing list