diff options
author | Martin Kelly <martin@martingkelly.com> | 2018-10-26 05:38:09 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-11 18:29:42 +0300 |
commit | 53759e259da43fae0e5322d227ffce60857f2828 (patch) | |
tree | 6f65667261c5a6fbbcb70b779d885565d5ffa970 /drivers/iio/magnetometer/st_magn_spi.c | |
parent | ee2303515e7555abb93297d8b8d8a55b0d156388 (diff) | |
download | linux-53759e259da43fae0e5322d227ffce60857f2828.tar.xz |
iio: magnetometer: add clarifying comment
Add a comment clarifying better when to use <device_name> vs
<device_name>-magn in compatibility strings.
Signed-off-by: Martin Kelly <martin@martingkelly.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/magnetometer/st_magn_spi.c')
-rw-r--r-- | drivers/iio/magnetometer/st_magn_spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <device_name> as compatible string. * For old single-chip devices keep <device_name>-magn to maintain * compatibility + * For multi-chip devices, use <device_name>-magn to distinguish which + * capability is being used */ static const struct of_device_id st_magn_of_match[] = { { |