drm/i2c/ch7006: Convert to dev_pm_ops
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Aug 2012 11:14:14 +0000 (11:14 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Aug 2012 23:56:08 +0000 (09:56 +1000)
commit0227a7fdc2a4756aa0e0d1152ce5eada016cf18d
tree404c06bc2aedde1dd6203e7afc4f993b8c8f9852
parentdf0b344300724e00db9fff7eb6406eb91f450b91
drm/i2c/ch7006: Convert to dev_pm_ops

The I2C specific suspend and resume functions have been deprecated and
printing a warning on boot for over a year, dev_pm_ops should be used
instead so convert to that.

Also remove the suspend function since all it does is log.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i2c/ch7006_drv.c