Re: [PATCH 3/4] V4L/DVB: mfd: use reg_shift instead of regstep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-07-10 at 11:40 +0530, Jayachandran C wrote:
> 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@xxxxxxxxxxxxxxxxx>

Looks good to me.

Acked-by: Richard Röjfors <richard.rojfors@xxxxxxxxxxxxxx>

> ---
>  drivers/mfd/timberdale.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c
> index 0ba26fb..a447f4e 100644
> --- a/drivers/mfd/timberdale.c
> +++ b/drivers/mfd/timberdale.c
> @@ -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)


--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux