Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/tilcdc: Remove obsolete drm_connector_register() calls

Remove obsolete drm_connector_register() calls from tilcdc_panel.c and
tilcdc_tfp410.c. All connectors are registered when drm_dev_register()
is called.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

-4
-2
drivers/gpu/drm/tilcdc/tilcdc_panel.c
··· 240 240 if (ret) 241 241 goto fail; 242 242 243 - drm_connector_register(connector); 244 - 245 243 return connector; 246 244 247 245 fail:
-2
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c
··· 249 249 if (ret) 250 250 goto fail; 251 251 252 - drm_connector_register(connector); 253 - 254 252 return connector; 255 253 256 254 fail: