drm/bridge: tda998x: use irq_get_trigger_type()
PATCH 1/1 drm/bridge: tda998x: use irq_get_trigger_type()
Use irq_get_trigger_type() to replace getting the irq data then the type in two steps.
Signed-off-by Zhen Ni <[email protected]>
--- drivers/gpu/drm/bridge/tda998x_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/bridge/tda998x_drv.c +1 -2
@@ -1876,8 +1876,7 @@ static int tda998x_create(struct device *dev)/* init read EDID waitqueue and HDP work */ init_waitqueue_head (&priv->wq_edid); - irq_flags = -irqd_get_trigger_type (irq_get_irq_data (client->irq)); + irq_flags =irq_get_trigger_type (client->irq); priv->cec_glue.irq_flags = irq_flags;
Signature · 1 line
2.20.1