[PATCH 2/2] drm: Add NULL check about irq functions