On Fri, Aug 19, 2022 at 10:21 PM Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote: > > Use devm_regulator_bulk_get_enable() instead of open coded bulk-get, > bulk-enable, add-action-to-disable-at-detach - pattern. ... > int bmg160_core_probe(struct device *dev, struct regmap *regmap, int irq, > const char *name) > { > struct bmg160_data *data; > struct iio_dev *indio_dev; > int ret; > + static const char * const regulators[] = {"vdd", "vddio"}; Please, keep this following the "longest line first" rule. Note, in this case you even can move it out of the function, so we will see clearly that this is (not a hidden) global variable. P.S. Same applies for the rest of the similar places in your series. -- With Best Regards, Andy Shevchenko