Re: [PATCH v4] can: Add driver for esd CAN-USB/2 device

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

 



From: Matthias Fuchs <matthias.fuchs@xxxxxx>
Date: Tue, 27 Jul 2010 15:42:40 +0200

> +#ifdef CONFIG_SYSFS
> +	if (device_create_file(&intf->dev, &dev_attr_firmware))
> +		dev_err(&intf->dev,
> +			"Couldn't create device file for firmware\n");

This ifdef protection is unnecessary, device_create_file() et al.
are available always, so please remove these SYSFS ifdef tests.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux