aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2019-11-06 22:21:01 +0100
committerWolfram Sang <[email protected]>2019-12-11 08:39:07 +0100
commit8c9312a925ad859daefd0f443ef3b6dc7157d881 (patch)
treef53aa271f4e1e307b31e081fe994c94a901fae19 /lib/memory-notifier-error-inject.c
parent3ac61258599b5abe45d97b926d44a79262385bae (diff)
i2c: add helper to check if a client has a driver attached
As a preparation for an API conversion, factor out something frequently used in the media subsystem. As an improvement, it bails out on both, NULL and ERRPTR to handle the old and new API. Signed-off-by: Wolfram Sang <[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