i2c: core: Dispose OF IRQ mapping at client removal time
authorLaurent Pinchart <[email protected]>
Thu, 30 Oct 2014 13:59:37 +0000 (15:59 +0200)
committerWolfram Sang <[email protected]>
Fri, 7 Nov 2014 18:03:18 +0000 (19:03 +0100)
commite4df3a0b62285130ac0a35cf07678c154ffb649d
tree7c9b514bc23c2c68c4258e9b8c17503cdd59892f
parent11cfbfb098b22d3e57f1f2be217cad20e2d48463
i2c: core: Dispose OF IRQ mapping at client removal time

Clients instantiated from OF get an IRQ mapping created at device
registration time. Dispose the mapping when the client is removed.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Cc: [email protected]
drivers/i2c/i2c-core.c