]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add of_device_id to structs that should be const
authorJoe Perches <joe@perches.com>
Fri, 13 Feb 2015 22:39:05 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:40 +0000 (21:21 -0800)
commit1f58d8961af66e5929d29354aa34b9234175f7e1
treefb608e409b321504e831d79bb40ff327bb0e1827
parent76b24d2b08ddf8980d21aa048f7786e56c66e44c
checkpatch: add of_device_id to structs that should be const

Uses of struct of_device_id are most commonly const.

Suggest using it as such.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl