[PATCH] hwmon: (aspeed-pwm-tacho): Switch to using the new API kobj_to_dev()
Guenter Roeck
linux at roeck-us.net
Fri Jan 8 10:35:40 EST 2021
On Mon, Jan 04, 2021 at 10:05:45AM +0800, Tian Tao wrote:
> fixed the following coccicheck:
> drivers/hwmon/aspeed-pwm-tacho.c:634:60-61: WARNING opportunity for
> kobj_to_dev()
> drivers/hwmon/aspeed-pwm-tacho.c:623:60-61: WARNING opportunity for
> kobj_to_dev()
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
> Acked-by: Joel Stanley <joel at jms.id.au>
Applied.
Thanks,
Guenter
More information about the linux-arm-kernel
mailing list