Skip to content
Commit c7b87f3d authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] ecard: add helper function for setting ecard irq ops



Rather than having every driver fiddle about setting its private
IRQ operations and data, provide a helper function to contain
this functionality in one place.

Arrange to remove the driver-private IRQ operations and data when
the device is removed from the driver, and remove the driver
private code to do this.

This fixes potential problems caused by drivers forgetting to
remove these hooks.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 129a84de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment