treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / input / touchscreen / ad7879.h
blobae8aa1428e56b7de7ca2af89956ed7b677dd6ba0
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * AD7879/AD7889 touchscreen (bus interfaces)
5 * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc.
6 */
8 #ifndef _AD7879_H_
9 #define _AD7879_H_
11 #include <linux/types.h>
13 struct device;
14 struct regmap;
16 extern const struct dev_pm_ops ad7879_pm_ops;
18 int ad7879_probe(struct device *dev, struct regmap *regmap,
19 int irq, u16 bustype, u8 devid);
21 #endif