treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm / mach-s3c24xx / include / mach / rtc-core.h
blob88510333b96b470ef95f00a5278b69abd9f1b312
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2011 Heiko Stuebner <heiko@sntech.de>
5 * Samsung RTC Controller core functions
6 */
8 #ifndef __RTC_CORE_H
9 #define __RTC_CORE_H __FILE__
11 /* These functions are only for use with the core support code, such as
12 * the cpu specific initialisation code
15 extern struct platform_device s3c_device_rtc;
17 /* re-define device name depending on support. */
18 static inline void s3c_rtc_setname(char *name)
20 s3c_device_rtc.name = name;
23 #endif /* __RTC_CORE_H */