On 11/29/22 13:17, Paul Cercueil wrote: > Use the new DEFINE_DRM_MODE_CONFIG_HELPER_PM_OPS() macro to create a > "struct dev_pm_ops" that can be used by this driver, instead of using > custom PM callbacks with the same behaviour. > > v2: Use the DEFINE_DRM_MODE_CONFIG_HELPER_PM_OPS() macro instead of an > exported dev_pm_ops. > > Signed-off-by: Paul Cercueil <p...@crapouillou.net> > --- > > Samuel: since the code changed I had to remove your reviewed-by, sorry > about that. > > Cc: Maxime Ripard <mrip...@kernel.org> > Cc: Chen-Yu Tsai <w...@csie.org> > Cc: Jernej Skrabec <jernej.skra...@gmail.com> > Cc: Samuel Holland <sam...@sholland.org> > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-su...@lists.linux.dev > --- > drivers/gpu/drm/sun4i/sun4i_drv.c | 26 ++++---------------------- > 1 file changed, 4 insertions(+), 22 deletions(-)
Reviewed-by: Samuel Holland <sam...@sholland.org>