From: Sangwon Jee Date: Wed, 9 Nov 2016 00:07:05 +0000 (-0800) Subject: Input: melfas_mip4 - add product ID reporting X-Git-Tag: v4.10-rc1~60^2^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c3fc60893d2d3ef55844c26770d080eceff68fd5;p=karo-tx-linux.git Input: melfas_mip4 - add product ID reporting Add reporting product ID through input_id. Signed-off-by: Sangwon Jee Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/melfas_mip4.c b/drivers/input/touchscreen/melfas_mip4.c index 0f2230a9b1a1..703d7f983d0a 100644 --- a/drivers/input/touchscreen/melfas_mip4.c +++ b/drivers/input/touchscreen/melfas_mip4.c @@ -1477,6 +1477,7 @@ static int mip4_probe(struct i2c_client *client, const struct i2c_device_id *id) input->id.bustype = BUS_I2C; input->id.vendor = 0x13c5; + input->id.product = ts->product_id; input->open = mip4_input_open; input->close = mip4_input_close; @@ -1614,6 +1615,6 @@ static struct i2c_driver mip4_driver = { module_i2c_driver(mip4_driver); MODULE_DESCRIPTION("MELFAS MIP4 Touchscreen"); -MODULE_VERSION("2016.10.24"); +MODULE_VERSION("2016.10.31"); MODULE_AUTHOR("Sangwon Jee "); MODULE_LICENSE("GPL");