projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf1e09
)
gpio: mockup: don't create the debugfs link named after the label
author
Bartosz Golaszewski
<
[email protected]
>
Thu, 17 Jan 2019 14:04:23 +0000
(15:04 +0100)
committer
Bartosz Golaszewski
<
[email protected]
>
Tue, 19 Feb 2019 16:42:28 +0000
(17:42 +0100)
User-space tests no longer use it and we're breaking the interface
anyway.
Signed-off-by: Bartosz Golaszewski <
[email protected]
>
drivers/gpio/gpio-mockup.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-mockup.c
b/drivers/gpio/gpio-mockup.c
index 1c945c967f60aa14412013eb2f9abdf26acf1538..0317917a36783af4febc01cb85d04787143afa55 100644
(file)
--- a/
drivers/gpio/gpio-mockup.c
+++ b/
drivers/gpio/gpio-mockup.c
@@
-234,7
+234,7
@@
static void gpio_mockup_debugfs_setup(struct device *dev,
struct gpio_mockup_chip *chip)
{
struct gpio_mockup_dbgfs_private *priv;
- struct dentry *evfile
, *link
;
+ struct dentry *evfile;
struct gpio_chip *gc;
const char *devname;
char *name;
@@
-247,10
+247,6
@@
static void gpio_mockup_debugfs_setup(struct device *dev,
if (IS_ERR_OR_NULL(chip->dbg_dir))
goto err;
- link = debugfs_create_symlink(gc->label, gpio_mockup_dbg_dir, devname);
- if (IS_ERR_OR_NULL(link))
- goto err;
-
for (i = 0; i < gc->ngpio; i++) {
name = devm_kasprintf(dev, GFP_KERNEL, "%d", i);
if (!name)