forked from Minki/linux
79383aaec4
What is passed to the .probe() and .remove() functions is technically the parent of the created IIO device but it becomes a big confusion for the head to have it named like this since it is usually clear from context the "dev" refers to the physical device, and when next adding PM callbacks a clean "struct device *dev" pointer is passed to these and that makes it even more confused. Rename "parent" to "dev" like in most other drivers. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
11 lines
259 B
C
11 lines
259 B
C
#include <linux/device.h>
|
|
#include <linux/kernel.h>
|
|
|
|
#define KXSD9_STATE_RX_SIZE 2
|
|
#define KXSD9_STATE_TX_SIZE 2
|
|
|
|
int kxsd9_common_probe(struct device *dev,
|
|
struct regmap *map,
|
|
const char *name);
|
|
int kxsd9_common_remove(struct device *dev);
|