treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / dvb-frontends / mn88473_priv.h
blobeca7f4e2b769325f6ee01cf78421ea9387750884
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Panasonic MN88473 DVB-T/T2/C demodulator driver
5 * Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
6 */
8 #ifndef MN88473_PRIV_H
9 #define MN88473_PRIV_H
11 #include <media/dvb_frontend.h>
12 #include <media/dvb_math.h>
13 #include "mn88473.h"
14 #include <linux/math64.h>
15 #include <linux/firmware.h>
16 #include <linux/regmap.h>
18 #define MN88473_FIRMWARE "dvb-demod-mn88473-01.fw"
20 struct mn88473_dev {
21 struct i2c_client *client[3];
22 struct regmap *regmap[3];
23 struct dvb_frontend frontend;
24 u16 i2c_wr_max;
25 bool active;
26 u32 clk;
29 #endif