From: Andy Whitcroft Date: Tue, 26 Oct 2010 21:23:18 +0000 (-0700) Subject: checkpatch: handle EXPORT_SYMBOL for DEVICE_ATTR and similar X-Git-Tag: v2.6.37-rc1~105^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cbf62df3a8ce61cb1aa20b7dae964058988bfdd;p=pandora-kernel.git checkpatch: handle EXPORT_SYMBOL for DEVICE_ATTR and similar Handly definitions similar to below. The definition macro spits out a symbol with a prefix. Add matching of any identifier prefix: DEVICE_ATTR(link_power_management_policy, S_IRUGO | S_IWUSR, ata_scsi_lpm_show, ata_scsi_lpm_put); EXPORT_SYMBOL_GPL(dev_attr_link_power_management_policy); Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed