Skip to content
Commit 375b9424 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

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: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 8764c4ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment