diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-05-21 11:03:05 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-05-31 09:33:22 +0200 |
commit | 375b94246761816e2637fc8afd454d2b158213f7 (patch) | |
tree | 5ffdebc581f2d1b76f25a0d6ce91e3e8c6beb3fe /drivers/gpio/gpio-ucb1400.c | |
parent | 8764c4ca5049d3ae7984a528a428a3f6881a2216 (diff) | |
download | talos-op-linux-375b94246761816e2637fc8afd454d2b158213f7.tar.gz talos-op-linux-375b94246761816e2637fc8afd454d2b158213f7.zip |
gpio: max732x: use i2c_new_dummy_device()
We now have a resource managed version of i2c_new_dummy_device() that
also returns an actual error code instead of a NULL-pointer. Use it
in the max732x GPIO driver and simplify code in the process.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-ucb1400.c')
0 files changed, 0 insertions, 0 deletions