From: Stephen Warren Date: Wed, 22 Feb 2012 21:25:58 +0000 (-0700) Subject: pinctrl: disallow map table entries with NULL dev_name field X-Git-Tag: v3.4-rc1~128^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1681f5ae4ca25bddb6f7b6d4f463cc83e3d1ad01;p=pandora-kernel.git pinctrl: disallow map table entries with NULL dev_name field Hog entries are mapping table entries with .ctrl_dev_name == .dev_name. All other mapping table entries need .dev_name set so that they will match some pinctrl_get() call. All extant PIN_MAP*() macros set .dev_name. So, there is no reason to allow mapping table entries without .dev_name set. Update the code and documentation to disallow this. Signed-off-by: Stephen Warren Acked-by: Dong Aisheng Signed-off-by: Linus Walleij --- Reading git-diff-tree failed