diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-04-03 14:56:58 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2019-04-11 16:14:49 +0200 |
commit | e33898a20744de9c98cbb7d38506734ece824cb4 (patch) | |
tree | 1f9ded2a6e02bed89e61c1137e0c5a1c0e7115a2 /drivers/gpu/drm/drm_fb_helper.c | |
parent | 564d6fd611f9c66dba4a3ad1da7a4589f8eb699a (diff) | |
download | linux-e33898a20744de9c98cbb7d38506734ece824cb4.tar.gz linux-e33898a20744de9c98cbb7d38506734ece824cb4.tar.bz2 linux-e33898a20744de9c98cbb7d38506734ece824cb4.zip |
drm/client: Rename drm_client_add() to drm_client_register()
This is done to stay consistent with our naming scheme of
_register() = others can start calling us from any thread.
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190403125658.32389-1-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 84791dd4a90d..367641c7754f 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -3322,7 +3322,7 @@ int drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp) if (ret) DRM_DEV_DEBUG(dev->dev, "client hotplug ret=%d\n", ret); - drm_client_add(&fb_helper->client); + drm_client_register(&fb_helper->client); return 0; } |