Skip to content
Commit ff9111ab authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio: adc: max11100: Use get_unaligned_be16() rather than opencoding.



The function is more explicit in showing the intent + quicker on some
platforms.

Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: default avatarAlexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210516172520.1398835-2-jic23@kernel.org
parent 38e9d5ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment