From: Axel Lin Date: Mon, 19 Aug 2013 02:06:29 +0000 (+0800) Subject: pinctrl: core: Remove unnecessary test for desc->name X-Git-Tag: v3.12-rc1~151^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c325f874c9a4b5a783ed6c4a88fdddfc380acb1;p=pandora-kernel.git pinctrl: core: Remove unnecessary test for desc->name The implementation in pinctrl_register_one_pin() ensures pindesc->name is always not NULL before insert the pindesc to radix tree. If the desc return from pin_desc_get is not NULL, desc->name is always not NULL. Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- Reading git-diff-tree failed