diff options
| author | 2018-03-21 17:29:40 +0100 | |
|---|---|---|
| committer | 2018-05-16 14:42:46 +0200 | |
| commit | 39933e0fd501791bda9393c78ed0aece2188acf2 (patch) | |
| tree | b30935805a7241c95fe7be69dadb3bc26ac4358e /include/linux/timerqueue.h | |
| parent | eeprom: at24: use devm_nvmem_register() (diff) | |
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
