treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_sdvo.h
bloba66f224aa17d391d31d728b6190109924d41a9c3
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __INTEL_SDVO_H__
7 #define __INTEL_SDVO_H__
9 #include <linux/types.h>
11 #include <drm/i915_drm.h>
13 #include "i915_reg.h"
15 struct drm_i915_private;
16 enum pipe;
17 enum port;
19 bool intel_sdvo_port_enabled(struct drm_i915_private *dev_priv,
20 i915_reg_t sdvo_reg, enum pipe *pipe);
21 bool intel_sdvo_init(struct drm_i915_private *dev_priv,
22 i915_reg_t reg, enum port port);
24 #endif /* __INTEL_SDVO_H__ */