Re: [PATCH v4 2/2] iio: accel: mma8452: Rename config structs for readability

From: Martin Kepplinger
Date: Sun Nov 05 2017 - 15:36:11 EST


On 2017-11-05 19:00, Harinath Nampally wrote:
> Rename structs holding event configuration registers
> to more appropriate names. This naming is consistent
> with the event config register names given in the
> mma845x and fxls8471 datasheets.
>
> Signed-off-by: Harinath Nampally <harinath922@xxxxxxxxx>

Makes sense to me.

Acked-by: Martin Kepplinger <martink@xxxxxxxxx>


Hey Harinath,

I think it'd be great to have the "power_mode" iio ABI interface
for mma8452 too, and I just found an old patch pf mine for this.

If you say you could test it and check for correct API usage and
ABI provisioning in sysfs, I'd be happy to publish it for you to
make any necessary corrections and submit it after testing.

Do we have a deal?

thanks

martin