This patch adds threshold events support for the MCP9600 device. Based on fix: 3c324a40b7c3 iio: temperature: mcp9600: Fix temperature reading for negative values Dimitri Fedrau (5): iio: temperature: mcp9600: set channel2 member iio: temperature: mcp9600: Share scale by all channels iio: temperature: mcp9600: add newlines after if statements iio: temperature: mcp9600: Fix line exceeding 80 columns iio: temperature: mcp9600: add threshold events support drivers/iio/temperature/mcp9600.c | 381 +++++++++++++++++++++++++++++- 1 file changed, 368 insertions(+), 13 deletions(-) -- 2.39.2