Vitaly Bordug
7c32f470f4
PHY fixed driver: rework release path and update phy_id notation
...
device_bind_driver() error code returning has been fixed. release()
function has been written, so that to free resources in correct way; the
release path is now clean.
Before the rework, it used to cause
Device 'fixed@100:1' does not have a release() function, it is broken
and must be fixed.
BUG: at drivers/base/core.c:104 device_release()
Call Trace:
[<ffffffff802ec380>] kobject_cleanup+0x53/0x7e
[<ffffffff802ec3ab>] kobject_release+0x0/0x9
[<ffffffff802ecf3f>] kref_put+0x74/0x81
[<ffffffff8035493b>] fixed_mdio_register_device+0x230/0x265
[<ffffffff80564d31>] fixed_init+0x1f/0x35
[<ffffffff802071a4>] init+0x147/0x2fb
[<ffffffff80223b6e>] schedule_tail+0x36/0x92
[<ffffffff8020a678>] child_rip+0xa/0x12
[<ffffffff80311714>] acpi_ds_init_one_object+0x0/0x83
[<ffffffff8020705d>] init+0x0/0x2fb
[<ffffffff8020a66e>] child_rip+0x0/0x12
Also changed the notation of the fixed phy definition on
mdio bus to the form of <speed>+<duplex> to make it able to be used by
gianfar and ucc_geth that define phy_id strictly as "%d:%d" and cleaned up
the whitespace issues.
Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Jeff Garzik <jeff@garzik.org >
2007-10-10 16:53:50 -07:00
..
2007-07-30 16:26:27 -03:00
2007-07-26 01:53:39 +02:00
2007-10-10 16:53:40 -07:00
2007-07-19 10:04:52 -07:00
2007-07-24 09:28:11 +02:00
2007-07-31 15:39:44 -07:00
2007-10-10 16:51:36 -07:00
2007-07-19 15:21:39 -04:00
2007-10-10 16:53:11 -07:00
2007-07-23 13:56:16 -04:00
2007-09-11 04:22:16 -07:00
2007-07-19 10:04:43 -07:00
2007-07-25 12:02:21 -07:00
2007-10-10 16:51:59 -07:00
2007-07-20 08:44:19 -07:00
2007-08-31 04:00:19 -04:00
2007-10-10 16:49:02 -07:00
2007-07-19 10:04:45 -07:00
2007-08-11 22:34:49 +02:00
2007-07-27 08:08:24 +02:00
2007-08-11 22:34:48 +02:00
2007-07-31 10:43:05 -05:00
2007-07-19 19:50:50 +10:00
2007-08-11 15:47:42 -07:00
2007-07-20 11:22:30 -07:00
2007-07-21 17:49:14 -07:00
2007-07-21 17:49:14 -07:00
2007-07-21 18:37:08 -07:00
2007-07-26 11:11:57 -07:00
2007-08-31 01:42:22 -07:00
2007-09-26 15:52:17 -07:00
2007-10-10 16:52:43 -07:00
2007-07-20 21:42:24 +02:00
2007-07-26 12:13:06 -07:00
2007-07-19 10:04:54 -07:00
2007-07-24 09:28:11 +02:00
2007-07-20 21:42:24 +02:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:48:08 -07:00
2007-07-29 16:45:38 -07:00
2007-08-11 22:34:47 +02:00
2007-07-30 00:27:28 -07:00
2007-07-19 10:04:41 -07:00
2007-08-31 01:42:23 -07:00
2007-07-20 11:11:16 +02:00
2007-07-31 15:39:41 -07:00
2007-07-20 10:11:58 +09:00
2007-09-11 22:28:36 +02:00
2007-10-10 16:52:59 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:10 -07:00
2007-10-10 16:51:16 -07:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:49:13 -07:00
2007-08-26 18:35:42 -07:00
2007-10-10 16:52:04 -07:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:51:16 -07:00
2007-10-10 16:49:10 -07:00
2007-10-10 16:47:46 -07:00
2007-10-10 16:49:21 -07:00
2007-08-11 15:58:13 -07:00
2007-10-10 16:49:23 -07:00
2007-07-28 19:42:22 -07:00
2007-07-20 10:06:38 +02:00
2007-07-31 02:28:17 -07:00
2007-07-21 19:07:33 -07:00
2007-07-31 15:39:41 -07:00
2007-09-16 21:13:58 -07:00
2007-10-10 16:52:52 -07:00
2007-08-22 19:52:45 -07:00
2007-08-26 18:35:34 -07:00
2007-07-31 15:39:40 -07:00
2007-09-11 17:21:20 -07:00
2007-09-04 23:16:04 -04:00
2007-07-30 14:25:12 -07:00
2007-07-19 10:04:44 -07:00
2007-10-10 16:48:12 -07:00
2007-09-11 22:24:45 +01:00
2007-07-26 11:35:17 -07:00
2007-07-26 11:35:17 -07:00
2007-07-28 19:54:33 -07:00
2007-08-31 04:21:13 -04:00
2007-10-10 16:51:35 -07:00
2007-07-19 10:04:49 -07:00
2007-07-24 12:24:59 -07:00
2007-09-19 11:24:18 -07:00
2007-08-22 19:52:45 -07:00
2007-08-22 19:52:47 -07:00
2007-10-10 16:51:36 -07:00
2007-07-24 21:16:02 +00:00
2007-07-19 10:04:45 -07:00
2007-10-10 16:49:07 -07:00
2007-10-10 16:52:52 -07:00
2007-09-11 11:28:26 +02:00
2007-10-10 16:49:16 -07:00
2007-10-10 16:48:06 -07:00
2007-09-01 10:14:54 -04:00
2007-07-19 15:21:39 -04:00
2007-10-10 16:52:14 -07:00
2007-07-31 02:28:15 -07:00
2007-10-10 16:49:04 -07:00
2007-07-20 13:41:56 +10:00
2007-07-22 21:30:59 +10:00
2007-07-20 13:10:22 +10:00
2007-07-20 21:42:24 +02:00
2007-07-19 10:04:52 -07:00
2007-10-10 16:51:34 -07:00
2007-08-22 14:48:41 -07:00
2007-10-10 16:53:50 -07:00
2007-10-10 16:49:20 -07:00
2007-07-30 12:25:49 -07:00
2007-08-25 16:58:27 +10:00
2007-07-26 11:35:21 -07:00
2007-07-26 11:35:21 -07:00
2007-09-11 17:21:20 -07:00
2007-07-26 13:40:43 +02:00
2007-10-10 16:49:22 -07:00
2007-08-11 15:47:41 -07:00
2007-07-28 19:42:22 -07:00
2007-07-21 18:37:10 -07:00
2007-10-10 16:53:29 -07:00
2007-08-30 22:10:28 -07:00
2007-10-10 16:53:30 -07:00
2007-10-10 16:51:28 -07:00
2007-08-22 19:52:45 -07:00
2007-08-22 19:52:47 -07:00
2007-07-24 12:24:58 -07:00
2007-07-24 12:24:58 -07:00
2007-08-22 19:52:44 -07:00
2007-07-22 11:03:37 -07:00
2007-09-20 13:19:59 -07:00
2007-09-16 16:21:16 -07:00
2007-07-20 12:33:44 -07:00
2007-08-31 01:09:21 -07:00
2007-10-10 16:52:39 -07:00
2007-07-19 10:04:49 -07:00
2007-07-19 10:04:49 -07:00
2007-07-19 10:04:49 -07:00
2007-07-29 16:45:38 -07:00
2007-07-20 21:42:15 +02:00
2007-07-31 15:39:39 -07:00
2007-10-10 16:48:00 -07:00
2007-07-25 10:17:44 -07:00
2007-07-20 11:23:02 -07:00
2007-08-02 17:41:40 +02:00
2007-08-11 15:47:41 -07:00
2007-07-30 13:27:44 -07:00
2007-09-19 11:24:18 -07:00
2007-08-20 12:18:01 -03:00
2007-07-21 18:37:14 -07:00
2007-10-08 12:58:14 -07:00