]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i2c/tda998x: Remove unused save/restore drm encoder helpers.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 7 Dec 2015 18:35:06 +0000 (10:35 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Dec 2015 15:07:56 +0000 (16:07 +0100)
commit458091b57890351aec8ecd4be410a423800dae3b
tree8f654101ab004645f0d555e681050852dab2eafc
parentf80de66eca654d9363918a1b4c0a62059586feff
drm/i2c/tda998x: Remove unused save/restore drm encoder helpers.

save/restore have been removed from drm_encoder_helper_funcs by
'commit 79f13ad5d8e0 ("drm: Move encoder->save/restore into nouveau")'

But this module was still defining it with empty content causing
compilation fails:

drivers/gpu/drm/i2c/tda998x_drv.c:1354:10: warning: initialization from
incompatible pointer type [-Wincompatible-pointer-types]
  .save = tda998x_encoder_save,

drivers/gpu/drm/i2c/tda998x_drv.c:1355:2: error: unknown field 'restore'
specified in initializer
  .restore = tda998x_encoder_restore,

Cc: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449513306-17309-1-git-send-email-rodrigo.vivi@intel.com
drivers/gpu/drm/i2c/tda998x_drv.c