V4L/DVB: mfd: use reg_shift instead of regstep
authorJayachandran C <jayachandranc@netlogicmicro.com>
Fri, 13 Jul 2012 13:44:24 +0000 (19:14 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Sat, 14 Jul 2012 11:30:25 +0000 (13:30 +0200)
Update for change in i2c-ocores.h which uses reg_shift to
specify the register offset shifts instead of regstep.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Acked-by: Richard Rojfors <richard.rojfors@pelagicore.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/mfd/timberdale.c

index 0ba26fb..a447f4e 100644 (file)
@@ -83,7 +83,7 @@ timberdale_xiic_platform_data = {
 
 static __devinitdata struct ocores_i2c_platform_data
 timberdale_ocores_platform_data = {
-       .regstep = 4,
+       .reg_shift = 2,
        .clock_khz = 62500,
        .devices = timberdale_i2c_board_info,
        .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)