treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_acpi.h
blob1c576b3fb712fcf4cddc187516e31b9d4f632abd
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __INTEL_ACPI_H__
7 #define __INTEL_ACPI_H__
9 #ifdef CONFIG_ACPI
10 void intel_register_dsm_handler(void);
11 void intel_unregister_dsm_handler(void);
12 #else
13 static inline void intel_register_dsm_handler(void) { return; }
14 static inline void intel_unregister_dsm_handler(void) { return; }
15 #endif /* CONFIG_ACPI */
17 #endif /* __INTEL_ACPI_H__ */