ASoC: pxa: magician: convert to use i2c_new_client_device()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 26 Mar 2020 21:10:10 +0000 (22:10 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2020 15:33:07 +0000 (15:33 +0000)
commit17fb5433150e8b0b4000a77a21055359a2eab534
treed2ddc45e15b7642e65afbc745ac637629ce1c4c7
parentb2fc1c08f74444b72f16bd5dc505eca33d1d6c6b
ASoC: pxa: magician: convert to use i2c_new_client_device()

Move away from the deprecated API and return the shiny new ERRPTR where
useful.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20200326211010.13471-2-wsa+renesas@sang-engineering.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/magician.c