Input: prepare to switching to struct device
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:34:47 +0000 (01:34 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 12 Apr 2007 05:34:47 +0000 (01:34 -0400)
commit88a447a030bfec9f1e8666daf27d9d73c8c92448
tree950840ba1271c2129d48692f4deab2fa661bd0a5
parent7791bdae71243050132ede7ea1558c828b69458f
Input: prepare to switching to struct device

In preparation to switching to struct device and class device
going away provide an alias to allow drivers that create devices
to use either input_dev->cdev.dev or input_dev->dev.parent to
put them into sysfs tree. The former will go away once conversion
to struct device is complete.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
include/linux/input.h