Andriy Gapon 943124d3f0 acpi_ec: clean up 'private' ivar when freeing memory to which it points
This is not only a prudent thing to do, but also makes sure that probe
method is not confused by non-NULL 'private', if the previous attach
attempt fails for any reason.

PR:		kern/142561
Tested by:	Alex Goncharov <alex-goncharov@comcast.net>
MFC after:	4 days
2010-01-18 10:30:11 +00:00
..
2009-05-13 22:31:25 +00:00
2009-09-14 21:33:00 +00:00
2009-11-11 20:29:40 +00:00
2010-01-03 23:28:32 +00:00
2010-01-03 23:26:29 +00:00
2009-11-25 13:31:17 +00:00
2009-12-16 12:25:27 +00:00
2010-01-08 20:40:28 +00:00
2009-04-14 11:23:09 +00:00
2010-01-08 15:57:56 +00:00
2010-01-01 22:47:53 +00:00
2009-06-14 00:15:26 +00:00
2010-01-03 23:31:58 +00:00
2009-09-06 10:27:45 +00:00
2009-05-25 22:50:11 +00:00
2009-08-23 08:04:40 +00:00
2010-01-06 05:58:07 +00:00
2010-01-14 01:16:20 +00:00
2009-12-25 00:23:47 +00:00
2010-01-03 23:29:49 +00:00