Skip to content
Commit cbfdc839 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Lee Jones
Browse files

mfd: twl: Endian fixups in i2c write and read wrappers



Use a local variable to ensure correct endian types for
intermediate results.

Identified by sparse when building the IIO driver.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 11c4f2be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment