| Date | Wed, 22 Feb 2012 14:46:19 +0800 | From | Dong Aisheng <> | Subject | Re: [PATCH 09/20] pinctrl: Disallow map table entries with NULL dev_name field |
| |
On Sun, Feb 19, 2012 at 11:45:49PM -0700, Stephen Warren wrote: > 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 <swarren@nvidia.com> > ---
Except code derived from last patch that not allow the map name to be NULL for pinctrl_get since it seems still not determined, for this patch itself:
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Regards Dong Aisheng
|