drm/rockchip: Change register space names in vop2
"regs" seems to generic when there are multiple register spaces, so rename that one to "vop". Also change "gamma_lut" to better looking "gamma-lut". Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220511082109.1110043-3-s.hauer@pengutronix.de
This commit is contained in:
parent
54eb8d446e
commit
5ee8c8f930
@ -2620,7 +2620,7 @@ static int vop2_bind(struct device *dev, struct device *master, void *data)
|
||||
|
||||
dev_set_drvdata(dev, vop2);
|
||||
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "regs");
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "vop");
|
||||
if (!res) {
|
||||
drm_err(vop2->drm, "failed to get vop2 register byname\n");
|
||||
return -EINVAL;
|
||||
@ -2637,7 +2637,7 @@ static int vop2_bind(struct device *dev, struct device *master, void *data)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "gamma_lut");
|
||||
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "gamma-lut");
|
||||
if (res) {
|
||||
vop2->lut_regs = devm_ioremap_resource(dev, res);
|
||||
if (IS_ERR(vop2->lut_regs))
|
||||
|
Loading…
x
Reference in New Issue
Block a user