]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/nouveau/drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/
authorLyude Paul <lyude@redhat.com>
Thu, 6 Sep 2018 21:43:24 +0000 (17:43 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Oct 2018 23:54:10 +0000 (09:54 +1000)
More consistent with the rest of the codebase, no functional changes
here.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_backlight.c
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.h

index 5d0694680f590ef2c4dd48b892f77c7b1344e989..f4400a6408b43272407af7299adbcaf44d7e2ed9 100644 (file)
@@ -309,7 +309,7 @@ nouveau_backlight_init(struct drm_connector *connector)
 }
 
 void
-nouveau_backlight_exit(struct drm_connector *connector)
+nouveau_backlight_fini(struct drm_connector *connector)
 {
        struct nouveau_connector *nv_conn = nouveau_connector(connector);
        struct nouveau_backlight *bl = nv_conn->backlight;
index 036c6484c4cddf33c4e54346cc3ab241f1500df6..a22f4fd03a0606b467be185815fff82f3a32f301 100644 (file)
@@ -898,7 +898,7 @@ nouveau_connector_late_register(struct drm_connector *connector)
 static void
 nouveau_connector_early_unregister(struct drm_connector *connector)
 {
-       nouveau_backlight_exit(connector);
+       nouveau_backlight_fini(connector);
 }
 
 static int
index 6f89d4938059bbfc1cca45682fc3e475f589f027..f57ef35b1e5e6b6b5ce222bfc1f16fa9c757fa31 100644 (file)
@@ -191,7 +191,7 @@ struct drm_display_mode *nouveau_conn_native_mode(struct drm_connector *);
 
 #ifdef CONFIG_DRM_NOUVEAU_BACKLIGHT
 extern int nouveau_backlight_init(struct drm_connector *);
-extern void nouveau_backlight_exit(struct drm_connector *);
+extern void nouveau_backlight_fini(struct drm_connector *);
 extern void nouveau_backlight_ctor(void);
 extern void nouveau_backlight_dtor(void);
 #else
@@ -202,7 +202,7 @@ nouveau_backlight_init(struct drm_connector *connector)
 }
 
 static inline void
-nouveau_backlight_exit(struct drm_connector *connector) {
+nouveau_backlight_fini(struct drm_connector *connector) {
 }
 
 static inline void