[PATCH RFC 2/2] tmp401: Add support for TI's TMP411 sensors chip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 May 2009 09:47:49 +0200, Hans de Goede wrote:
> On 05/14/2009 11:24 AM, Andre Prendel wrote:
>  > +		if(data->kind == TMP411_DEVICE_ID) {
> 
> This should be:
> +		if(data->kind == tmp411) {
> 
> !!

This should actually be:

		if (data->kind == tmp411) {

Something scripts/checkpatch.pl would have warned Andre about.

-- 
Jean Delvare



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux