[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1285692755.1866.66.camel@Joe-Laptop>
Date: Tue, 28 Sep 2010 09:52:35 -0700
From: Joe Perches <joe@...ches.com>
To: Alan Cox <alan@...ux.intel.com>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Add ALS drivers for the apds9802als
On Tue, 2010-09-28 at 16:56 +0100, Alan Cox wrote:
> drivers/misc/apds9802als.c | 308 ++++++++++++++++++++++++++++++++++++++++++++
[]
> +static int apds9802als_probe(struct i2c_client *client,
> + const struct i2c_device_id *id)
> +{
> + int res;
> + struct als_data *data;
> +
> + data = kzalloc(sizeof(struct als_data), GFP_KERNEL);
> + if (data == NULL) {
> + dev_err(&client->dev, "Memory allocation failed");
missing newline.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists