Merge "driver: regulator: Fix the compilation warnings for pointer"
This commit is contained in:
commit
8fbff94a53
@ -2732,7 +2732,7 @@ static int qpnp_lcdb_regulator_probe(struct platform_device *pdev)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
lcdb->subtype = (u8)of_device_get_match_data(&pdev->dev);
|
||||
lcdb->subtype = (u8)(unsigned long)of_device_get_match_data(&pdev->dev);
|
||||
lcdb->dev = &pdev->dev;
|
||||
lcdb->pdev = pdev;
|
||||
dev_id = of_match_device(lcdb->dev->driver->of_match_table, lcdb->dev);
|
||||
|
Loading…
Reference in New Issue
Block a user