Re: [PATCH 1/1] input: added driver support for the t5400 pressure sensor.

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

 



Hi Stefan,

On Tue, Nov 20, 2012 at 10:02:34PM +0100, Stefan Nilsson wrote:
> +
> +	idev->evbit[0] = BIT_MASK(EV_ABS);
> +	input_set_abs_params(idev, ABS_PRESSURE, T5400_ABS_MIN_PRES,
> +					T5400_ABS_MAX_PRES, 0, 0);
> +	input_set_abs_params(idev, ABS_MISC, T5400_ABS_MIN_TEMP,
> +					T5400_ABS_MAX_TEMP, 0, 0);
> +

This driver should be using IIO, not input subsystem.

Thanks.

-- 
Dmitry
--
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


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux