treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / wireless / ti / wl1251 / ps.h
blobce70fdcdd67d7e7362ac59ec20261b4fb25ea0ba
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * This file is part of wl1251
5 * Copyright (c) 1998-2007 Texas Instruments Incorporated
6 * Copyright (C) 2008 Nokia Corporation
7 */
9 #ifndef __WL1251_PS_H__
10 #define __WL1251_PS_H__
12 #include "wl1251.h"
13 #include "acx.h"
15 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
16 void wl1251_ps_elp_sleep(struct wl1251 *wl);
17 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
18 void wl1251_elp_work(struct work_struct *work);
21 #endif /* __WL1251_PS_H__ */