ASoC: Convert neo1973/lm4857 to a new-style i2c driver
PATCH 3/3 ASoC: Convert neo1973/lm4857 to a new-style i2c driver
Convert the lm4857 driver in neo1973_wm8753 to the new (standard) i2c device driver binding model. I assumed that the LM4857 was always on the same I2C bus as the WM8753 codec.
Signed-off-by Jean Delvare <[email protected]>
Cc Tim Niemeyer <[email protected]>
Cc Graeme Gregory <[email protected]>
Cc Mark Brown <[email protected]>
---
I couldn't even test-build that one. Tim, Graeme, can any of you please review and test this patch? Thanks.
include/linux/i2c-id.h | 1 sound/soc/s3c24xx/neo1973_wm8753.c | 110 ++++++++++++++++++------------------ 2 files changed, 58 insertions(+), 53 deletions(-)
include/linux/i2c-id.h +0 -1
@@ -64,7 +64,6 @@#define I2C_DRIVERID_SAA717X 80/* saa717x video encoder */ #define I2C_DRIVERID_DS1672 81/* Dallas/Maxim DS1672 RTC */ #define I2C_DRIVERID_TLV320AIC23B 87/* TI TLV320AIC23B audio codec */ -#define I2C_DRIVERID_LM4857 92/* LM4857 Audio Amplifier */ #define I2C_DRIVERID_VP27SMPX 93/* Panasonic VP27s tuner internal MPX */ #define I2C_DRIVERID_CS4270 94/* Cirrus Logic 4270 audio codec */ #define I2C_DRIVERID_M52790 95/* Mitsubishi M52790SP/FP AV switch */
sound/soc/s3c24xx/neo1973_wm8753.c +58 -52
156 lines not on this page · raw message
Signature · 1 line
Jean Delvare