Files
linux-cix/include/linux/platform_data/pca953x.h
Andy Shevchenko e657dc10c4 gpio: pca953x: Drop unused fields in struct pca953x_platform_data
[ Upstream commit 2f4d3e293392571e02b106c8b431b638bd029276 ]

New code should solely use firmware nodes for the specifics and
not any callbacks.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 7cef813a91c4 ("gpio: pca953x: log an error when failing to get the reset GPIO")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-08 09:51:54 +01:00

19 lines
360 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_PCA953X_H
#define _LINUX_PCA953X_H
#include <linux/types.h>
#include <linux/i2c.h>
/* platform data for the PCA9539 16-bit I/O expander driver */
struct pca953x_platform_data {
/* number of the first GPIO */
unsigned gpio_base;
/* interrupt base */
int irq_base;
};
#endif /* _LINUX_PCA953X_H */