On Sun, Dec 04, 2011 at 08:46:47PM +0200, Aaro Koskinen wrote:
> Use a pointer variable to make some lines shorter and more readable.
> 
> Signed-off-by: Aaro Koskinen <[email protected]>
> ---
> +             lvds->PSC_S5            = vbios[i + 24];
>               i += 25;
>               j--;
>               k++;
> +             lvds++;


Incrementing lvds here is a bugfix yes?  The original code just set
the first element of the array over and over.

>       } while (j > 0 && k < ARRAY_SIZE(XGI21_LCDCapList));
>  }
>  

regards,
dan carpenter


Attachment: signature.asc
Description: Digital signature

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to