commit | a44b86645a4a173a45e57d127ac037e88750ea6a | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Oct 08 21:18:41 2017 +0200 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Nov 14 23:19:03 2017 +0900 |
tree | 1e8cf58defd03f11393ab8f28b58ac6db55ebbef | |
parent | 1b18d05c7c204a59e0ac66cbfa813a7173c4426e [diff] |
coccinelle: api: detect identical chip data arrays This semantic patch detects duplicate arrays declared using BQ27XXX_DATA within a single structure. It is currently specific to the file drivers/power/supply/bq27xxx_battery.c. Nevertheless, having the script in the kernel will allow others to check their code if the data structures change in the future. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>