docs: i2c: use the new API in 'writing-clients'
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 7 Jan 2020 17:47:46 +0000 (18:47 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 15 Jan 2020 19:40:16 +0000 (20:40 +0100)
commite8d51e962936bf4527f41db318d53a80006f2bf7
tree2afb39c458490d81b26b8258734a14bb63e45fe9
parente634a50c9cd1896b09f33dcbe4b5de5f29e4bbb7
docs: i2c: use the new API in 'writing-clients'

i2c_new_device is deprecated, use i2c_new_client_device. Also, align a
paragraph while here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/writing-clients.rst