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-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-11-07 11:46:38 +00:00
2009-11-16 21:47:12 +00:00
2009-11-07 11:46:38 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-11-16 21:47:12 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-06-05 18:44:36 +00:00
2009-11-16 21:47:12 +00:00
2009-11-16 21:47:12 +00:00
2009-11-07 11:46:38 +00:00