sunxi: rsb: Move rsb_set_device_mode() call to rsb_init()
authorHans de Goede <hdegoede@redhat.com>
Mon, 26 Jan 2015 15:59:12 +0000 (16:59 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 2 Feb 2015 12:55:14 +0000 (13:55 +0100)
commit37d46dd3c4f3617b88a5797aab3600d3a4f32bd5
tree79aab56d1f8695dd58eddd3f2945192e52371c1f
parentd35488c7359ac5b6e20d9fe1895360aa7f3122f2
sunxi: rsb: Move rsb_set_device_mode() call to rsb_init()

It turns out that the device_mode_data is rsb specific, rather then slave
specific, so integrate the rsb_set_device_mode() call into rsb_init().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/rsb.c
arch/arm/include/asm/arch-sunxi/rsb.h
drivers/power/axp221.c
include/axp221.h