treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / mediatek / mtk_cec.h
blobc6412dddb388c6ac5be61a7a0fa7665499104e24
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2014 MediaTek Inc.
4 * Author: Jie Qiu <jie.qiu@mediatek.com>
5 */
6 #ifndef _MTK_CEC_H
7 #define _MTK_CEC_H
9 #include <linux/types.h>
11 struct device;
13 void mtk_cec_set_hpd_event(struct device *dev,
14 void (*hotplug_event)(bool hpd, struct device *dev),
15 struct device *hdmi_dev);
16 bool mtk_cec_hpd_high(struct device *dev);
18 #endif /* _MTK_CEC_H */