commit | 8c9312a925ad859daefd0f443ef3b6dc7157d881 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Wed Nov 06 22:21:01 2019 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Dec 11 08:39:07 2019 +0100 |
tree | f53aa271f4e1e307b31e081fe994c94a901fae19 | |
parent | 3ac61258599b5abe45d97b926d44a79262385bae [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 <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>