drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / scripts / tags.sh
index 26a87e68afed13fd3aa92a694f8021cdd1a02d10..74f02e4dddd29eca8894fe409984ae525d1e2e96 100755 (executable)
@@ -199,7 +199,9 @@ exuberant()
        --regex-c='/DEFINE_PER_CPU_SHARED_ALIGNED\(([^,]*,\s*)(\w*).*\)/\2/v/' \
        --regex-c='/DECLARE_WAIT_QUEUE_HEAD\((\w*)/\1/v/'               \
        --regex-c='/DECLARE_(TASKLET|WORK|DELAYED_WORK)\((\w*)/\2/v/'   \
-       --regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/'
+       --regex-c='/DEFINE_PCI_DEVICE_TABLE\((\w*)/\1/v/'               \
+       --regex-c='/(^\s)OFFSET\((\w*)/\2/v/'                           \
+       --regex-c='/(^\s)DEFINE\((\w*)/\2/v/'
 
        all_kconfigs | xargs $1 -a                              \
        --langdef=kconfig --language-force=kconfig              \