Hi Nick,

On Thu, Jun 27, 2013 at 01:48:57PM +0100, Nick Dyer wrote:
> Signed-off-by: Nick Dyer <[email protected]>
> Acked-by: Benson Leung <[email protected]>

Why is this needed?

Thanks.

> ---
>  drivers/input/touchscreen/atmel_mxt_ts.c |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c 
> b/drivers/input/touchscreen/atmel_mxt_ts.c
> index ee1e866..76f1c20 100644
> --- a/drivers/input/touchscreen/atmel_mxt_ts.c
> +++ b/drivers/input/touchscreen/atmel_mxt_ts.c
> @@ -1897,6 +1897,13 @@ static int mxt_resume(struct device *dev)
>  
>  static SIMPLE_DEV_PM_OPS(mxt_pm_ops, mxt_suspend, mxt_resume);
>  
> +static void mxt_shutdown(struct i2c_client *client)
> +{
> +     struct mxt_data *data = i2c_get_clientdata(client);
> +
> +     disable_irq(data->irq);
> +}
> +
>  static const struct i2c_device_id mxt_id[] = {
>       { "qt602240_ts", 0 },
>       { "atmel_mxt_ts", 0 },
> @@ -1914,6 +1921,7 @@ static struct i2c_driver mxt_driver = {
>       },
>       .probe          = mxt_probe,
>       .remove         = mxt_remove,
> +     .shutdown       = mxt_shutdown,
>       .id_table       = mxt_id,
>  };
>  
> -- 
> 1.7.10.4
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to