cbus-retu-wdt: Fix bitfield access
authorMichael Buesch <mb@bu3sch.de>
Wed, 2 Mar 2011 16:11:53 +0000 (16:11 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 3 Mar 2011 01:22:29 +0000 (17:22 -0800)
An unsigned int pointer must not be casted to an unsigned
long pointer before use. Convert the bitfield to unsigned long
to fix this.
Also use clear_bit() in the release path.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found