+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
platform_device_add() should be using device_add() rather than device_register() - any platform device passed to platform_device_add() should have already been initialised, either by platform_device_alloc() or platform_device_register(). Signed-off-by:Russell King <rmk@arm.linux.org.uk> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>