projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e770f6b
)
drm/meson: Use drm_dev_put() instead of drm_dev_unref()
author
Christophe JAILLET
<
[email protected]
>
Mon, 12 Mar 2018 20:15:09 +0000
(21:15 +0100)
committer
Neil Armstrong
<
[email protected]
>
Tue, 13 Mar 2018 09:38:28 +0000
(10:38 +0100)
According to 'drivers/gpu/drm/drm_drv.c', 'drm_dev_unref()' is just a
compatibility alias for 'drm_dev_put()'. So use the latter instead.
Signed-off-by: Christophe JAILLET <
[email protected]
>
Acked-by: Neil Armstrong <
[email protected]
>
Signed-off-by: Neil Armstrong <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/d4ce46077d3ada7149c4555acfdda8ade4a6cf50.1520885192.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/meson/meson_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/meson/meson_drv.c
b/drivers/gpu/drm/meson/meson_drv.c
index 02b0886debc0b936746071517290e022c8adc57e..6ee3dd7fa450e9f57a2e9b2c4a5f48fdd81d20d9 100644
(file)
--- a/
drivers/gpu/drm/meson/meson_drv.c
+++ b/
drivers/gpu/drm/meson/meson_drv.c
@@
-284,7
+284,7
@@
static int meson_drv_bind_master(struct device *dev, bool has_components)
return 0;
free_drm:
- drm_dev_
unref
(drm);
+ drm_dev_
put
(drm);
return ret;
}
@@
-303,7
+303,7
@@
static void meson_drv_unbind(struct device *dev)
drm_kms_helper_poll_fini(drm);
drm_fbdev_cma_fini(priv->fbdev);
drm_mode_config_cleanup(drm);
- drm_dev_
unref
(drm);
+ drm_dev_
put
(drm);
}