lkml.org 
[lkml]   [2019]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH RESEND 0/3] hwmon: convert remaining drivers to i2c_new_dummy_device()
Date
This series is part of a tree-wide movement to replace the I2C API call
'i2c_new_dummy' which returns NULL with its new counterpart returning an
ERRPTR.

This series fixes the remaining hwmon drivers which could not be
converted by my cocci script. So, I did it manually, yet all drivers
still follow the same pattern. Build tested by me and by buildbot. No
tests on HW have been performed, so testing is appreciated.

The branch is based on v5.3-rc2. A branch (with some more stuff included) can
be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/new_dummy


Wolfram Sang (3):
hwmon: w83791d: convert to use devm_i2c_new_dummy_device
hwmon: w83792d: convert to use devm_i2c_new_dummy_device
hwmon: w83793d: convert to use devm_i2c_new_dummy_device

drivers/hwmon/w83791d.c | 32 +++++++++-----------------------
drivers/hwmon/w83792d.c | 32 +++++++++-----------------------
drivers/hwmon/w83793.c | 30 ++++++++----------------------
3 files changed, 26 insertions(+), 68 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2019-09-03 20:13    [W:0.072 / U:6.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site