On Tue, Nov 10, 2020 at 02:33:43PM +0200, Jarkko Nikula wrote:
Yes. I have noticed that the approach for this is random. Many drivers passPerhaps we can put NULL directly into UNIVERSAL_DEV_PM_OPS() for the suspend+#define gpu_i2c_suspend NULL
callback?
NULL directly to the dev_pm_ops type variable, and rest of them use a macro.
I used it for symmetry. I mean there is 'gpu_i2c_resume', so although a macro,
I have put a 'gpu_i2c_suspend'.
Although it won't make any significant change, but if required, I can send
another patch where NULL is passed into UNIVERSAL_DEV_PM_OPS() instead.