summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-03-28 21:47:24 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-04-04 09:11:26 +0100
commitad202fe8edd18536198f7b98ec1893b81be490af (patch)
tree991db0dbd086d32082d7e4a65d1f38b9cbd51a94 /include/linux
parent0ca269a4ae3982845a7ff97b8feaaf3562ac1c8d (diff)
downloadcachepc-linux-ad202fe8edd18536198f7b98ec1893b81be490af.tar.gz
cachepc-linux-ad202fe8edd18536198f7b98ec1893b81be490af.zip
iio: adc: ti-ads1015: Replace data_rate with chip data struct ads1015_data
Instead of storing only data_rate in private data, store pointer to the whole chip data and use the data_rate from chip data throughout the driver. No functional change. This is done in preparation for switching to read_avail(). Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Andy Shevchenko <andy@kernel.org> Cc: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20220328194725.149150-9-marex@denx.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions