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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment