Commit e7123a4d authored by Mehdi Djait's avatar Mehdi Djait Committed by Jonathan Cameron
Browse files

iio: accel: kionix-kx022a: Refactor driver and add chip_info structure



Add the chip_info structure to the driver's private data to hold all
the device specific infos.
Refactor the kx022a driver implementation to make it more generic and
extensible.

Acked-by: default avatarMatti Vaittinen <mazziesaccount@gmail.com>
Signed-off-by: default avatarMehdi Djait <mehdi.djait.k@gmail.com>
Link: https://lore.kernel.org/r/7a31d0cdefba15d7c791252ec8bc5db553b3996b.1694867379.git.mehdi.djait.k@gmail.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 13d5398a
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