Re: [PATCH] staging: sm750fb: refactor method and fix potential type inconsistence

From: Greg KH
Date: Mon Jul 03 2017 - 02:22:40 EST

On Sun, Jul 02, 2017 at 10:27:40PM +0800, Lynn Lei wrote:
> make reg variable typed `u32' not `unsigned int'
> this can fix potential type inconsistence in some platforms

It can? What platform?

> refactor swPanelPowerSequence() make the code less redundant
> a early check for disp to skip unnecessary delay

Only do one thing per patch please.


greg k-h