Hi Felip, Sorry for the delayed reply. On Mon, Dec 8, 2008 at 11:58 PM, Felipe Balbi <me@xxxxxxxxxxxxxxx> wrote: > On Mon, Dec 08, 2008 at 11:19:53PM +0530, Trilok Soni wrote: >> +static ssize_t tsc2005_disable_store(struct device *dev, >> + struct device_attribute *attr, >> + const char *buf, size_t count) >> +{ >> + struct tsc2005 *tsc = dev_get_drvdata(dev); >> + unsigned long res; >> + int i; >> + >> + i = strict_strtoul(buf, 10, &res); >> + i = i ? 1 : 0; > > shouldn't this be i = res ? 1 : 0; ?? You are right, I will change this. -- ---Trilok Soni http://triloksoni.wordpress.com http://www.linkedin.com/in/triloksoni -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html