On Mon, 28 Aug 2023 15:27:12 +0100 Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > On Fri, 18 Aug 2023 08:56:00 +0100 > Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote: > > > Sort OF table alphabetically by compatibles. > > > > Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > I adjusted this for not taking patch 4 and applied. Dropped this one again as I just saw the suggestion to group the prefixed an on prefixed version which is a good idea. Jonathan > > Thanks, > > Jonathan > > > --- > > v2: > > * New patch > > --- > > drivers/iio/magnetometer/ak8975.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c > > index 295b7be5e36d..7cc443a86995 100644 > > --- a/drivers/iio/magnetometer/ak8975.c > > +++ b/drivers/iio/magnetometer/ak8975.c > > @@ -1073,8 +1073,8 @@ static const struct i2c_device_id ak8975_id[] = { > > MODULE_DEVICE_TABLE(i2c, ak8975_id); > > > > static const struct of_device_id ak8975_of_match[] = { > > - { .compatible = "asahi-kasei,ak8975", .data = &ak_def_array[AK8975] }, > > { .compatible = "asahi-kasei,ak8963", .data = &ak_def_array[AK8963] }, > > + { .compatible = "asahi-kasei,ak8975", .data = &ak_def_array[AK8975] }, > > { .compatible = "asahi-kasei,ak09911", .data = &ak_def_array[AK09911] }, > > { .compatible = "asahi-kasei,ak09912", .data = &ak_def_array[AK09912] }, > > { .compatible = "asahi-kasei,ak09916", .data = &ak_def_array[AK09916] }, >