treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sh / include / mach-kfr2r09 / mach / kfr2r09.h
blob0e97473afe0bb934dd9e648debe6d833f6545a11
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_KFR2R09_H
3 #define __ASM_SH_KFR2R09_H
5 #include <video/sh_mobile_lcdc.h>
7 #if defined(CONFIG_FB_SH_MOBILE_LCDC) || defined(CONFIG_FB_SH_MOBILE_LCDC_MODULE)
8 int kfr2r09_lcd_setup(void *sys_ops_handle,
9 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
10 void kfr2r09_lcd_start(void *sys_ops_handle,
11 struct sh_mobile_lcdc_sys_bus_ops *sys_ops);
12 #else
13 static int kfr2r09_lcd_setup(void *sys_ops_handle,
14 struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
16 return -ENODEV;
18 static void kfr2r09_lcd_start(void *sys_ops_handle,
19 struct sh_mobile_lcdc_sys_bus_ops *sys_ops)
22 #endif
24 #endif /* __ASM_SH_KFR2R09_H */