treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / sound / soc / codecs / adau1761.h
blob7beabf448ad13f3786fccdf729da5893bb08cd62
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * ADAU1361/ADAU1461/ADAU1761/ADAU1961 driver
5 * Copyright 2014 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
7 */
9 #ifndef __SOUND_SOC_CODECS_ADAU1761_H__
10 #define __SOUND_SOC_CODECS_ADAU1761_H__
12 #include <linux/regmap.h>
13 #include "adau17x1.h"
15 struct device;
17 int adau1761_probe(struct device *dev, struct regmap *regmap,
18 enum adau17x1_type type, void (*switch_mode)(struct device *dev));
20 extern const struct regmap_config adau1761_regmap_config;
22 #endif