mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
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>
This commit is contained in:
parent
ee2303515e
commit
53759e259d
@ -23,6 +23,8 @@
|
|||||||
* For new single-chip sensors use <device_name> as compatible string.
|
* For new single-chip sensors use <device_name> as compatible string.
|
||||||
* For old single-chip devices keep <device_name>-magn to maintain
|
* For old single-chip devices keep <device_name>-magn to maintain
|
||||||
* compatibility
|
* 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[] = {
|
static const struct of_device_id st_magn_of_match[] = {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user