On Sat, Dec 02, 2017 at 12:19:27PM +0000, Jonathan Cameron wrote: > > diff --git a/drivers/iio/accel/bmc150-accel.h b/drivers/iio/accel/bmc150-accel.h > > index c38754452883..7f49a09b136f 100644 > > --- a/drivers/iio/accel/bmc150-accel.h > > +++ b/drivers/iio/accel/bmc150-accel.h > > @@ -47,6 +47,7 @@ struct bmc150_accel_data { > > int ev_enable_state; > > int64_t timestamp, old_timestamp; /* Only used in hw fifo mode. */ > > const struct bmc150_accel_chip_info *chip_info; > > + void *driver_priv; > > I'd be explicit about what this is rather than just calling it driver_priv. Ah, okay. I was worried about putting i2c-specific stuff in there. > Also patch 1 was entirely to expose this data element. Adding simple > bmc150_get_second_device() / bcm150_set_second_device call would avoid that. That hadn't occurred to me. I'll take a look at doing it that way. Thanks for the feedback! Regards, Jeremy -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html