mfd: syscon: Simplify syscon_match_pdevname()
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 10 Mar 2014 10:57:33 +0000 (14:57 +0400)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Mar 2014 08:58:41 +0000 (08:58 +0000)
commit416dc642afab52337d49d67170370b22b7057ab6
treed52bfcef3be997c550ad0142d0588a1313aada13
parent94b6c3dac0771509df6ee621c7038bb3c128d09a
mfd: syscon: Simplify syscon_match_pdevname()

Since we do not want to add new platform IDs for the syscon driver,
there is no reason to iterate over IDs. This patch simplifies
syscon_match_pdevname() function to remove such iteration.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/syscon.c