[PATCH] hwmon: (aspeed-pwm-tacho): Switch to using the new API kobj_to_dev()

Guenter Roeck linux at roeck-us.net
Sat Jan 9 02:35:40 AEDT 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>



More information about the Linux-aspeed mailing list