[PATCH] gta03-pca9632.patch

michael trimarchi at gandalf.sssup.it
Mon Sep 15 13:09:18 CEST 2008


Hi,
matt_hsu wrote:
> pca9632 is a LED driver in gta03.
> This patch patch adds the support for this chip.
>
> Matt


+static int pca9632_detach_client(struct i2c_client *client)
+{
+ int err;
+
+ sysfs_remove_group(&client->dev.kobj, &pca_attr_group);
+
+ if ((err == i2c_detach_client(client)))

+ return err;

Err is non initialized and then is compared with detach_client

:)

Michael



More information about the openmoko-kernel mailing list