]> git.itanic.dy.fi Git - linux-stable/commit
hwmon: (smsc47m1) Rename global platform device variable
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 7 Dec 2023 14:09:32 +0000 (15:09 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 2 Jan 2024 16:44:57 +0000 (08:44 -0800)
commit7ae587eb163ee25576532098a3bc19a45b8fc2e2
treef4d4d8b565494252a5d1a92204a8265356de0f4a
parent581076958ee6455588fe3d3368d5e0db3c2d0c69
hwmon: (smsc47m1) Rename global platform device variable

pdev is a bad name for a global variable. Still more as the driver has
functions where pdev is a local variable. Rename it to smsc47m1_pdev.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/68a959b56da7f9452557d08c72249182364b0dd0.1701957841.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/smsc47m1.c