Andreas Färber be2f78b6b0 pxa2xx: Avoid object_get_link_property() assertion for "parent_bus"
pxa2xx_i2c_init() creates a pxa2xx-i2c-slave device on a second i2c-bus,
which has a NULL parent device. This causes an assertion in
object_get_canonical_path() when accessing pxa2xx-i2c-slave's
"parent_bus" link<bus> property in tosa and likely other PXA2xx machines.

Fix this by using the pxa2xx_i2c device, created just before, as parent.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375621501-5564-1-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-08-05 11:46:58 -05:00
..
2013-07-23 00:37:33 +02:00
2013-07-29 21:05:58 +02:00
2013-07-29 21:05:58 +02:00
2013-07-31 07:54:21 -05:00
2013-07-29 21:06:05 +02:00
2013-07-29 21:06:46 +02:00
2013-07-29 21:06:57 +02:00
2013-07-29 21:07:02 +02:00
2013-07-29 21:07:02 +02:00
2013-07-31 23:25:41 +02:00
2013-07-29 21:06:28 +02:00
2013-07-29 21:06:59 +02:00
2013-07-29 19:56:46 -05:00
2013-07-29 19:56:46 -05:00
2013-07-29 21:07:00 +02:00
2013-07-25 08:12:27 -05:00
2013-07-29 21:07:01 +02:00
2013-07-29 21:07:02 +02:00
2013-08-01 13:03:42 +02:00