Skip to content

Commit 9d7bd3b

Browse files
committed
drm: renesas: shmobile: Rename shmob_drm_connector.connector
Rename the "connector" member of the shmob_drm_connector subclass structure to "base", to improve readability. Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Sui Jingfeng <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/2382c4c796b53b5d2b24f99b85954ce632f21b90.1694767209.git.geert+renesas@glider.be
1 parent 5195532 commit 9d7bd3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ int shmob_drm_encoder_create(struct shmob_drm_device *sdev)
560560

561561
static inline struct shmob_drm_connector *to_shmob_connector(struct drm_connector *connector)
562562
{
563-
return container_of(connector, struct shmob_drm_connector, connector);
563+
return container_of(connector, struct shmob_drm_connector, base);
564564
}
565565

566566
static int shmob_drm_connector_get_modes(struct drm_connector *connector)
@@ -632,7 +632,7 @@ shmob_drm_connector_init(struct shmob_drm_device *sdev,
632632
if (!scon)
633633
return ERR_PTR(-ENOMEM);
634634

635-
connector = &scon->connector;
635+
connector = &scon->base;
636636
scon->encoder = encoder;
637637
scon->mode = &sdev->pdata->panel.mode;
638638

drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ struct shmob_drm_crtc {
3333
};
3434

3535
struct shmob_drm_connector {
36-
struct drm_connector connector;
36+
struct drm_connector base;
3737
struct drm_encoder *encoder;
3838
const struct videomode *mode;
3939
};

0 commit comments

Comments
 (0)