commit | ff9111ab3e1f01cad2318c6bc989c8bf51a570ac | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun May 16 18:25:13 2021 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Jun 03 18:24:13 2021 +0100 |
tree | c4236d95f4a4bb9a2e31adde3e5fdf40337ee3db | |
parent | 38e9d5caeedb58b5bfdf66567b534698aeb432bc [diff] |
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: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Alexandru Ardelean <aardelean@deviqon.com> Link: https://lore.kernel.org/r/20210516172520.1398835-2-jic23@kernel.org