On 2020-03-25 12:02, Andy Shevchenko wrote:
On Tue, Mar 24, 2020 at 11:59 PM Jimmy Assarsson <jimmyassarsson@xxxxxxxxx> wrote:On 2020-03-24 22:52, Jimmy Assarsson wrote:...+ .wai = { + .addr = 0x0f,In st_magn_core.c this is ST_SENSORS_DEFAULT_WAI_ADDRESS (from linux/iio/common/st_sensors.h). Is this OK, our should I change it?I would rather use macro, Easier to grep what is being used with ST sensors.
Sure, will fix it in v2.
+ .val = 0x3d, + },