Re: [PATCH] hwmon: (abx500): Switch to using the new API kobj_to_dev()

2020-11-27 Thread Guenter Roeck
On Thu, Nov 26, 2020 at 10:21:20AM +0800, Tian Tao wrote: > fixed the following coccicheck: > drivers/hwmon/abx500.c:266:60-61: WARNING opportunity for kobj_to_dev(). > > Signed-off-by: Tian Tao Applied. Thanks, Guenter > --- > drivers/hwmon/abx500.c | 2 +- > 1 file changed, 1 insertion(+),

[PATCH] hwmon: (abx500): Switch to using the new API kobj_to_dev()

2020-11-25 Thread Tian Tao
fixed the following coccicheck: drivers/hwmon/abx500.c:266:60-61: WARNING opportunity for kobj_to_dev(). Signed-off-by: Tian Tao --- drivers/hwmon/abx500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index 50e67cd..4b96488 1