[PATCH v1 09/15] hwmon: (w83781d) Remove duplicate NULL check

2017-10-31 Thread Andy Shevchenko
Since i2c_unregister_device() became NULL-aware we may remove duplicate NULL check. Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-hwmon@vger.kernel.org Signed-off-by: Andy Shevchenko --- drivers/hwmon/w83781d.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dri

Re: [PATCH v1 09/15] hwmon: (w83781d) Remove duplicate NULL check

2017-10-31 Thread Jean Delvare
On Tue, 31 Oct 2017 16:21:43 +0200, Andy Shevchenko wrote: > Since i2c_unregister_device() became NULL-aware we may remove duplicate > NULL check. > > Cc: Jean Delvare > Cc: Guenter Roeck > Cc: linux-hwmon@vger.kernel.org > Signed-off-by: Andy Shevchenko > --- > drivers/hwmon/w83781d.c | 12 ++

Re: [PATCH v1 09/15] hwmon: (w83781d) Remove duplicate NULL check

2017-11-01 Thread Guenter Roeck
On 10/31/2017 07:21 AM, Andy Shevchenko wrote: Since i2c_unregister_device() became NULL-aware we may remove duplicate NULL check. Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-hwmon@vger.kernel.org Signed-off-by: Andy Shevchenko I'll keep the hwmon patches from this series on hold until the

Re: [PATCH v1 09/15] hwmon: (w83781d) Remove duplicate NULL check

2017-11-01 Thread Andy Shevchenko
On Wed, 2017-11-01 at 06:19 -0700, Guenter Roeck wrote: > On 10/31/2017 07:21 AM, Andy Shevchenko wrote: > > Since i2c_unregister_device() became NULL-aware we may remove > > duplicate > > NULL check. > > > > Cc: Jean Delvare > > Cc: Guenter Roeck > > Cc: linux-hwmon@vger.kernel.org > > Signed-o

Re: [PATCH v1 09/15] hwmon: (w83781d) Remove duplicate NULL check

2017-11-01 Thread Wolfram Sang
> > I'll keep the hwmon patches from this series on hold until the changes > > to i2c_unregister_device make it into the tree. Ok with me if the > > patches > > are merged through some other tree. > > Wolfram, what do you think? > > At least we have couple of options: > - apply i2c core patch no

Re: [PATCH v1 09/15] hwmon: (w83781d) Remove duplicate NULL check

2017-11-02 Thread Andy Shevchenko
On Thu, 2017-11-02 at 00:07 +0100, Wolfram Sang wrote: > > > I'll keep the hwmon patches from this series on hold until the > > > changes > > > to i2c_unregister_device make it into the tree. Ok with me if the > > > patches > > > are merged through some other tree. > > > > Wolfram, what do you thi