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
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 ++
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
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
> > 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
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