lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 4 Jul 2020 17:46:30 +0100 From: Jonathan Cameron <jic23@...nel.org> To: Krzysztof Kozlowski <krzk@...nel.org> Cc: Hartmut Knaack <knaack.h@....de>, Lars-Peter Clausen <lars@...afoo.de>, Peter Meerwald-Stadler <pmeerw@...erw.net>, Rob Herring <robh+dt@...nel.org>, linux-iio@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v3 2/2] iio: magnetometer: bmc150: Add proper compatible for BMM150 On Mon, 29 Jun 2020 12:05:37 +0200 Krzysztof Kozlowski <krzk@...nel.org> wrote: > The compatible for BMM150 should not have "_magn" suffix because, unlike > two other Bosch devices, it is only a magnetometer. > > Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org> Both applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to ignore them. Thanks for tidying this up. Jonathan > > --- > > Changes since v2: > 1. Add compatible only for bmm150. > > Changes since v1: > 1. New patch. > --- > drivers/iio/magnetometer/bmc150_magn_i2c.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/iio/magnetometer/bmc150_magn_i2c.c b/drivers/iio/magnetometer/bmc150_magn_i2c.c > index fb45b63c56e4..876e96005e33 100644 > --- a/drivers/iio/magnetometer/bmc150_magn_i2c.c > +++ b/drivers/iio/magnetometer/bmc150_magn_i2c.c > @@ -58,7 +58,8 @@ MODULE_DEVICE_TABLE(i2c, bmc150_magn_i2c_id); > static const struct of_device_id bmc150_magn_of_match[] = { > { .compatible = "bosch,bmc150_magn" }, > { .compatible = "bosch,bmc156_magn" }, > - { .compatible = "bosch,bmm150_magn" }, > + { .compatible = "bosch,bmm150_magn" }, /* deprecated compatible */ > + { .compatible = "bosch,bmm150" }, > { } > }; > MODULE_DEVICE_TABLE(of, bmc150_magn_of_match);
Powered by blists - more mailing lists