treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / wireless / ralink / rt2x00 / rt2x00soc.h
blob021fd06b362723fc22899dfa08ee71b51f167b7a
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
4 <http://rt2x00.serialmonkey.com>
6 */
8 /*
9 Module: rt2x00soc
10 Abstract: Data structures for the rt2x00soc module.
13 #ifndef RT2X00SOC_H
14 #define RT2X00SOC_H
17 * SoC driver handlers.
19 int rt2x00soc_probe(struct platform_device *pdev, const struct rt2x00_ops *ops);
20 int rt2x00soc_remove(struct platform_device *pdev);
21 #ifdef CONFIG_PM
22 int rt2x00soc_suspend(struct platform_device *pdev, pm_message_t state);
23 int rt2x00soc_resume(struct platform_device *pdev);
24 #else
25 #define rt2x00soc_suspend NULL
26 #define rt2x00soc_resume NULL
27 #endif /* CONFIG_PM */
29 #endif /* RT2X00SOC_H */