diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2018-03-21 19:29:40 +0300 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2018-05-16 15:42:46 +0300 |
commit | 39933e0fd501791bda9393c78ed0aece2188acf2 (patch) | |
tree | b30935805a7241c95fe7be69dadb3bc26ac4358e /drivers/misc/spear13xx_pcie_gadget.c | |
parent | bbe69841bdfa86333b39cf7a5c7d7273b5324143 (diff) | |
download | linux-39933e0fd501791bda9393c78ed0aece2188acf2.tar.xz |
eeprom: at24: provide and use a helper for releasing dummy i2c clients
This allows us to drop two opencoded for loops. We also don't need to
check if the i2c client is NULL before calling i2c_unregister_device().
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'drivers/misc/spear13xx_pcie_gadget.c')
0 files changed, 0 insertions, 0 deletions