drivers: interrupt: pint: Fix IRQ override when re-enabling

Remove pin slot assignment if GPIO pin interrupt is disabled,
otherwise a new interrupt configured while the interrupt is
disabled will cause re-enabling of the original interrupt
to override the slot assigned of the last interrupt configured.

Signed-off-by: Torbjørn Biering Tvermosegaard <tbt@foss.dk>
1 file changed