Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c98f8fd authored by Alex Sarraf's avatar Alex Sarraf Committed by Gerrit - the friendly Code Review server
Browse files

input: gpio-keys: add definition for input device name



Add a macro definition for the input device name.

Change-Id: I084e073186765228c48b6dec9ea05d7085350617
Signed-off-by: default avatarAlex Sarraf <asarraf@codeaurora.org>
parent f0331928
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -718,7 +718,7 @@ static int gpio_keys_probe(struct platform_device *pdev)
	platform_set_drvdata(pdev, ddata);
	input_set_drvdata(input, ddata);

	input->name = pdata->name ? : pdev->name;
	input->name = GPIO_KEYS_DEV_NAME;
	input->phys = "gpio-keys/input0";
	input->dev.parent = &pdev->dev;
	input->open = gpio_keys_open;
+2 −0
Original line number Diff line number Diff line
#ifndef _GPIO_KEYS_H
#define _GPIO_KEYS_H

#define GPIO_KEYS_DEV_NAME "gpio-keys"

struct device;

/**