Skip to contentSkip to conversation

ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c

PATCH In review Dirk Behme 2 participants 2 messages Dec 22, 2006 Input drivers

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c

ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c

Signed-off-by Dirk Behme <dirk.behme_at_gmail.com>
drivers/input/touchscreen/ads7846.c +1 -1
Index: linux-osk/drivers/input/touchscreen/ads7846.c
===================================================================
@@ -201,7 +201,7 @@ static int ads7846_read12_ser(struct dev
 {
 	struct spi_device	*spi = to_spi_device(dev);
 	struct ads7846		*ts = dev_get_drvdata(dev);
-	struct ser_req		*req = kzalloc(sizeof *req, SLAB_KERNEL);
+	struct ser_req		*req = kzalloc(sizeof *req, GFP_KERNEL);
 	int			status;
 	int			sample;
 	int			use_internal;
#1 lore raw
Quoted 10 lines · Dirk Behme

ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in ads7846.c

Signed-off-by Dirk Behme <dirk.behme_at_gmail.com>

Index: linux-osk/drivers/input/touchscreen/ads7846.c
===================================================================

drivers/input/touchscreen/ads7846.c static int ads7846_read12_ser(struct dev · line 207

Quoted 8 lines
drivers/input/touchscreen/ads7846.c +1 -1
@@ -201,7 +201,7 @@ static int ads7846_read12_ser(struct dev
 {
 	struct spi_device	*spi = to_spi_device(dev);
 	struct ads7846		*ts = dev_get_drvdata(dev);
-	struct ser_req		*req = kzalloc(sizeof *req, SLAB_KERNEL);
+	struct ser_req		*req = kzalloc(sizeof *req, GFP_KERNEL);
 	int			status;
 	int			sample;
 	int			use_internal;

Pushing today.

Tony