Input: ims-pcu - use kobj_to_dev()
authorYueHaibing <yuehaibing@huawei.com>
Sun, 20 Jun 2021 05:12:32 +0000 (22:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 20 Jun 2021 05:36:21 +0000 (22:36 -0700)
commitf519f78c7e95b56cadd395443bf39316fea1990c
tree144e1364ecf2b2c326edd928458cd8dd619fae10
parent25531d612bac96dceea46994cd385791a0396aea
Input: ims-pcu - use kobj_to_dev()

Use kobj_to_dev() instead of container_of()

Generated by: scripts/coccinelle/api/kobj_to_dev.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20210607122533.10608-1-yuehaibing@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ims-pcu.c