From: Jamie Iles Date: Fri, 20 May 2011 06:40:19 +0000 (-0600) Subject: basic_mmio_gpio: split into a gpio library and platform device X-Git-Tag: v3.0-rc1~130^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=280df6b3c3ad777a91f1011cd98d50df891bfef8;p=pandora-kernel.git basic_mmio_gpio: split into a gpio library and platform device Allow GPIO_BASIC_MMIO_CORE to be used to provide an accessor library for implementing GPIO drivers whilst abstracting the register access detail. Based on a patch from Anton Vorontsov[1] and adapted to allow bgpio_chip to be embedded in another structure. Changes since v1: - Register the gpio_chip in the platform device probe 1. https://lkml.org/lkml/2011/4/19/401 Signed-off-by: Anton Vorontsov Signed-off-by: Jamie Iles Signed-off-by: Grant Likely --- Reading git-diff-tree failed