Wolfram Sang bb7d93fff6 drm: encoder_slave: use new I2C API
i2c_new_client() is deprecated, use the replacement
i2c_new_client_device(). Also, we have a helper to check if a driver is
bound. Use it to simplify the code. Note that this changes the errno for
a failed device creation from ENOMEM to ENODEV. No callers currently
interpret this errno, though, so we use this condensed error check.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-06-19 09:20:21 +02:00
..
2020-04-28 16:04:00 +02:00
2020-06-02 15:04:15 -07:00
2020-04-28 16:13:03 +02:00
2020-04-02 14:16:44 +02:00
2020-04-21 09:02:29 +02:00
2020-04-02 14:16:44 +02:00
2020-06-02 15:04:15 -07:00
2020-04-24 20:51:24 +08:00
2020-06-04 19:56:20 -07:00
2020-06-02 15:04:15 -07:00
2020-06-08 11:33:38 -07:00
2020-03-12 12:42:56 +10:00
2020-06-02 15:04:15 -07:00
2020-04-03 17:11:41 +02:00
2020-04-02 14:16:45 +02:00
2020-06-11 12:27:06 -07:00
2020-06-02 15:04:15 -07:00
2020-06-02 15:04:15 -07:00
2020-04-28 16:05:15 +02:00
2020-04-28 15:15:59 +02:00
2020-04-22 10:41:35 +10:00
2020-03-26 15:45:36 +01:00
2020-06-02 15:04:15 -07:00
2020-04-22 10:41:35 +10:00
2020-04-02 14:16:46 +02:00
2020-04-03 17:11:41 +02:00
2020-03-11 07:27:21 +10:00
2020-04-03 17:11:41 +02:00
2019-10-08 18:29:00 +02:00
2020-06-02 15:04:15 -07:00
2020-04-28 15:05:19 +02:00
2020-06-02 15:04:15 -07:00
2020-06-02 15:04:15 -07:00
2020-03-26 15:38:09 +01:00
2020-06-02 15:04:15 -07:00
2020-03-16 09:27:09 +01:00
2020-04-29 18:44:26 +03:00
2020-04-03 17:11:41 +02:00
2020-06-02 15:04:15 -07:00
2020-04-28 16:05:15 +02:00