mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 21:33:00 +01:00
This driver does not have any in-tree users but is passing a legacy GPIO number through platform data. Convert it to use a GPIO descriptor, new users or outoftree users can easily be implemented using GPIO descriptor tables or software nodes. Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
17 lines
372 B
C
17 lines
372 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _AS5011_H
|
|
#define _AS5011_H
|
|
|
|
/*
|
|
* Copyright (c) 2010, 2011 Fabien Marteau <[email protected]>
|
|
*/
|
|
|
|
struct as5011_platform_data {
|
|
unsigned int axis_irq; /* irq number */
|
|
unsigned long axis_irqflags;
|
|
char xp, xn; /* threshold for x axis */
|
|
char yp, yn; /* threshold for y axis */
|
|
};
|
|
|
|
#endif /* _AS5011_H */
|