Re: [Patch v1 4/7] DA9055 GPIO driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 14 September 2012 07:00 PM, Ashish Jangam wrote:
This is the GPIO patch for the DA9055 PMIC. This patch has got
dependency on the DA9055 MFD core.

This patch is functionally tested on SMDK6410 board.

Signed-off-by: David Dajun Chen<dchen@xxxxxxxxxxx>
Signed-off-by: Ashish Jangam<ashish.jangam@xxxxxxxxxxxxxxx>
---


+struct da9055_gpio {
+	struct da9055 *da9055;
+	struct gpio_chip gp;
I suggest to make gp as first member so that offset of member will be 0 in container_of macro and avoid one ops.


+static struct gpio_chip reference_gp __devinitdata = {

This is device int data and you used after device initailisation. I think this can create issue.


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux