sony-laptop: Prepare the platform driver for multiple users.
authormalattia@linux.it <malattia@linux.it>
Mon, 9 Apr 2007 08:19:05 +0000 (10:19 +0200)
committerLen Brown <len.brown@intel.com>
Tue, 10 Apr 2007 20:01:18 +0000 (16:01 -0400)
commit56b8756b3bc8812837a21f3e066dba1b489e071e
treeb23f0c58d9db882f6be89b7cdf679e6d5139992a
parent59b19106f3f20487093ea06c8220426147cf7835
sony-laptop: Prepare the platform driver for multiple users.

Both the SNC and SPIC device drivers will create attributes and thus
there's the need to have an internal usage count to avoid
re-registering or de-registering at the wrong time.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/sony-laptop.c