Re: [PATCH] hwmon: pmbus: shrink code and remove pmbus_do_remove()

2020-10-26 Thread Guenter Roeck
On Mon, Oct 26, 2020 at 11:53:52AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The only action currently performed in pmbus_do_remove() is removing the > debugfs hierarchy. We can schedule a devm action at probe time and remove > pmbus_do_remove() entirely from all pmbus dri

[PATCH] hwmon: pmbus: shrink code and remove pmbus_do_remove()

2020-10-26 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The only action currently performed in pmbus_do_remove() is removing the debugfs hierarchy. We can schedule a devm action at probe time and remove pmbus_do_remove() entirely from all pmbus drivers. Signed-off-by: Bartosz Golaszewski --- drivers/hwmon/pmbus/adm1266.c