dmaengine: pl330: Remove non-NULL check for pl330_submit_req parameters
[deliverable/linux.git] / drivers / extcon / extcon-palmas.c
index 7417ce84eb2dbd6e50e8bc216fd666599eecf398..230e1220ce48bc49ef24bd5683ca1c074e94202e 100644 (file)
@@ -194,7 +194,6 @@ static int palmas_usb_probe(struct platform_device *pdev)
                return -ENOMEM;
        }
        palmas_usb->edev->name = kstrdup(node->name, GFP_KERNEL);
-       palmas_usb->edev->dev.parent = palmas_usb->dev;
        palmas_usb->edev->mutually_exclusive = mutually_exclusive;
 
        status = devm_extcon_dev_register(&pdev->dev, palmas_usb->edev);
@@ -278,7 +277,7 @@ static int palmas_usb_resume(struct device *dev)
 
 static SIMPLE_DEV_PM_OPS(palmas_pm_ops, palmas_usb_suspend, palmas_usb_resume);
 
-static struct of_device_id of_palmas_match_tbl[] = {
+static const struct of_device_id of_palmas_match_tbl[] = {
        { .compatible = "ti,palmas-usb", },
        { .compatible = "ti,palmas-usb-vid", },
        { .compatible = "ti,twl6035-usb", },
This page took 0.029147 seconds and 5 git commands to generate.