summaryrefslogtreecommitdiffstats
path: root/lib/jedec_ddr_data.c
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-12-26 18:37:57 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-03 04:46:59 -0500
commit8042e98c387b02fc4239eee0075d0f318efcf1d7 (patch)
treec3bc68e4a465cba0f6f9a6b5689cf1ef4c451a9a /lib/jedec_ddr_data.c
parent4b596bd70a396dfeb55f38b6bd1c21b8e77ebe77 (diff)
downloadlinux-8042e98c387b02fc4239eee0075d0f318efcf1d7.tar.gz
linux-8042e98c387b02fc4239eee0075d0f318efcf1d7.tar.bz2
linux-8042e98c387b02fc4239eee0075d0f318efcf1d7.zip
media: dvb-frontends/stv0910: cleanup I2C access functions
write_reg() and i2c_write_reg16() only act as a proxy to i2c_write(), which isn't called from anywhere else throughout the driver. Clean this up by moving the message setup and the i2c_transfer() into write_reg() so it becomes the only I2C write function. While touching those parts, fix the error codes from EREMOTEIO to EIO. The I2C cleanup is picked from the upstream dddvb. Cc: Ralph Metzler <rjkm@metzlerbros.de> Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions