]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: ux500: Remove duplicated assignment of ab8500_platdata
authorLee Jones <lee.jones@linaro.org>
Wed, 8 May 2013 13:29:01 +0000 (14:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 14 May 2013 08:14:40 +0000 (10:14 +0200)
commit3210c05327e2b44b3bf96bab550d72cdb18b64e4
treec77b9ddde6ef58e3d4a14c1a005542ea7c590c84
parentf722406faae2d073cc1d01063d1123c35425939e
ARM: ux500: Remove duplicated assignment of ab8500_platdata

Since: "05ec260 mfd: db8500-prcmu: update resource passing", the AB8500's
platform data 'ab8500_platdata' is passed directly as an attribute to
'db8500_prcmu_pdata', so there's no requirement to assign it a second
time. In fact, it's only due to an ordering issue that the entire
'db8500_prcmu_pdata' data structure isn't completely over-written by the
assignment in u8500_init_devices().

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/setup.h