From: Stephen Warren Date: Fri, 2 Mar 2012 01:48:33 +0000 (-0700) Subject: pinctrl: assume map table entries can't have a NULL name field X-Git-Tag: v3.4-rc1~128^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110e4ec5a1cfe20190e7f8c2b8b4eef369de3c99;p=pandora-kernel.git pinctrl: assume map table entries can't have a NULL name field pinctrl_register_mappings() already requires that every mapping table entry have a non-NULL name field. Logically, this makes sense too; drivers should always request a specific named state so they know what they're getting. Relying on getting the first mentioned state in the mapping table is error-prone, and a nasty special case to implement, given that a given the mapping table may define multiple states for a device. Remove a small part of the documentation that talked about optionally requesting a specific state; it's mandatory now. Signed-off-by: Stephen Warren Acked-by: Dong Aisheng Signed-off-by: Linus Walleij --- Reading git-diff-tree failed