[PATCH] slab: remove SLAB_KERNEL
[linux-block.git] / drivers / input / touchscreen / ads7846.c
index f56d6a0f0624ad06c602e52e52e39833959d0e17..0517c7387d67511593f07a40b67146eb51801760 100644 (file)
@@ -189,7 +189,7 @@ static int ads7846_read12_ser(struct device *dev, unsigned command)
 {
        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                     i;