Merge "driver: regulator: Fix the compilation warnings for pointer"
This commit is contained in:
commit
8fbff94a53
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue