Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | coccinelle: api: detect identical chip data arrays | Julia Lawall | 2017-11-14 | 1 | -0/+161 |
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> |