]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mfd/ti_am335x_tscadc.c
Merge tag 'v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux...
[karo-tx-linux.git] / drivers / mfd / ti_am335x_tscadc.c
index e4e4b22eebc91cc33145ad233e46c3afdb4b3345..06e2b6c2c9ca7944950d629e644676e484426ac1 100644 (file)
@@ -140,8 +140,8 @@ static      int ti_tscadc_probe(struct platform_device *pdev)
        struct clk              *clk;
        struct device_node      *node = pdev->dev.of_node;
        struct mfd_cell         *cell;
-       struct property         *prop;
-       const __be32            *cur;
+       struct property         *prop;
+       const __be32            *cur;
        u32                     val;
        int                     err, ctrl;
        int                     clock_rate;
@@ -282,8 +282,11 @@ static     int ti_tscadc_probe(struct platform_device *pdev)
 
        err = mfd_add_devices(&pdev->dev, pdev->id, tscadc->cells,
                        tscadc->used_cells, NULL, 0, NULL);
-       if (err < 0)
+       if (err < 0) {
+               dev_err(&pdev->dev, "Failed to add MFD devices\n");
                goto err_disable_clk;
+       }
+       dev_info(&pdev->dev, "TI Touchscreen/ADC driver initialized\n");
 
        device_init_wakeup(&pdev->dev, true);
        platform_set_drvdata(pdev, tscadc);