aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2019-08-19 22:48:25 +0200
committerWolfram Sang <[email protected]>2019-08-29 20:38:11 +0200
commit689f535843ac2633b395cfc494446326d03efab6 (patch)
tree03f951a3784d58a0333a48f998c4a0539558b1b9 /lib/memory-notifier-error-inject.c
parenta55aa89aab90fae7c815b0551b07be37db359d76 (diff)
i2c: make i2c_unregister_device() ERR_PTR safe
We are moving towards returning ERR_PTRs when i2c_new_*_device() calls fail. Make sure its counterpart for unregistering handles ERR_PTRs as well. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions