Naveen, On Thu, Jun 12, 2014 at 6:13 AM, Naveen Krishna Chatradhi <ch.naveen@xxxxxxxxxxx> wrote: > Use controller_data structure only for the Non Device tree platforms. > For Device tree platforms, always derive the chipselect info from > DT node. > > Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@xxxxxxxxxxx> > Cc: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx> > Cc: Doug Anderson <dianders@xxxxxxxxxxxx> > Cc: Tomasz Figa <t.figa@xxxxxxxxxxx> > --- > drivers/spi/spi-s3c64xx.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) I'm not planning to do an in-depth review of this patch since it seems that others are on top of it, but I've tested it. With it (and some patches that haven't been sent up yet) I can talk to the EC on exynos5420-pit (which uses device tree for specifying the cs-gpios) Tested-by: Doug Anderson <dianders@xxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html