summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-11-07 00:21:01 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-12-11 10:39:07 +0300
commit8c9312a925ad859daefd0f443ef3b6dc7157d881 (patch)
treef53aa271f4e1e307b31e081fe994c94a901fae19 /drivers
parent3ac61258599b5abe45d97b926d44a79262385bae (diff)
downloadlinux-8c9312a925ad859daefd0f443ef3b6dc7157d881.tar.xz
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 <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions