diff options
| author | Mehdi Djait <mehdi.djait.k@gmail.com> | 2023-09-16 14:38:52 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-09-17 10:44:52 +0100 |
| commit | 774c3fabc9ff5fd10e779a4322ee4cbc36272c07 (patch) | |
| tree | 4b8b17b81b2d909934526c437d664e8e98287dee /net/lapb/lapb_timer.c | |
| parent | e7123a4dfcd732c4d10620748588e3715f362802 (diff) | |
iio: accel: kionix-kx022a: Add a function to retrieve number of bytes in buffer
Since Kionix accelerometers use various numbers of bits to report data, a
device-specific function is required.
Implement the function as a callback in the device-specific chip_info structure
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: Mehdi Djait <mehdi.djait.k@gmail.com>
Link: https://lore.kernel.org/r/9c550fb28e34915d473e379f812c7753f7643bae.1694867379.git.mehdi.djait.k@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
