From: Martin Kelly Date: Fri, 26 Oct 2018 02:38:09 +0000 (-0700) Subject: iio: magnetometer: add clarifying comment X-Git-Tag: v5.4-rc1~1925^2~249^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53759e259da43fae0e5322d227ffce60857f2828;p=platform%2Fkernel%2Flinux-rpi.git iio: magnetometer: add clarifying comment Add a comment clarifying better when to use vs -magn in compatibility strings. Signed-off-by: Martin Kelly Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c index 7b7cd08fcc32..15bb09267098 100644 --- a/drivers/iio/magnetometer/st_magn_spi.c +++ b/drivers/iio/magnetometer/st_magn_spi.c @@ -23,6 +23,8 @@ * For new single-chip sensors use as compatible string. * For old single-chip devices keep -magn to maintain * compatibility + * For multi-chip devices, use -magn to distinguish which + * capability is being used */ static const struct of_device_id st_magn_of_match[] = { {