treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / mtd / spi-nor / intel-spi.h
blobe2f41b8827bfecea44034606ea002165585ac8a3
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Intel PCH/PCU SPI flash driver.
5 * Copyright (C) 2016, Intel Corporation
6 * Author: Mika Westerberg <mika.westerberg@linux.intel.com>
7 */
9 #ifndef INTEL_SPI_H
10 #define INTEL_SPI_H
12 #include <linux/platform_data/intel-spi.h>
14 struct intel_spi;
15 struct resource;
17 struct intel_spi *intel_spi_probe(struct device *dev,
18 struct resource *mem, const struct intel_spi_boardinfo *info);
19 int intel_spi_remove(struct intel_spi *ispi);
21 #endif /* INTEL_SPI_H */