Input: Fix lm8323 probe and module unloading
authorTony Lindgren <tony@atomide.com>
Tue, 13 May 2008 05:53:07 +0000 (22:53 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 15 May 2008 23:51:49 +0000 (16:51 -0700)
Make module unloading and reloading behave:

- Driver probe could fail if input_register_device fails as
  no error was returned from probe

- Driver interrupt was using unused platform_data field,
  change to use i2c platform data interrupt instead

- Free resources on unloading module

- Mark platform data as __init_or_module

Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found