Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
426f29d6
Commit
426f29d6
authored
Aug 30, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: gpio: tie into gb core properly
parent
3d9efaae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/staging/greybus/gpio-gb.c
drivers/staging/greybus/gpio-gb.c
+2
-2
No files found.
drivers/staging/greybus/gpio-gb.c
View file @
426f29d6
...
@@ -77,7 +77,7 @@ int gb_gpio_probe(struct greybus_device *gdev,
...
@@ -77,7 +77,7 @@ int gb_gpio_probe(struct greybus_device *gdev,
gpio
->
ngpio
=
42
;
// FIXME!!!
gpio
->
ngpio
=
42
;
// FIXME!!!
gpio
->
can_sleep
=
false
;
// FIXME!!!
gpio
->
can_sleep
=
false
;
// FIXME!!!
g
reybus_set_drvdata
(
gdev
,
gb_gpio
)
;
g
dev
->
gb_gpio_dev
=
gb_gpio
;
retval
=
gpiochip_add
(
gpio
);
retval
=
gpiochip_add
(
gpio
);
if
(
retval
)
{
if
(
retval
)
{
...
@@ -92,7 +92,7 @@ void gb_gpio_disconnect(struct greybus_device *gdev)
...
@@ -92,7 +92,7 @@ void gb_gpio_disconnect(struct greybus_device *gdev)
{
{
struct
gb_gpio_device
*
gb_gpio_dev
;
struct
gb_gpio_device
*
gb_gpio_dev
;
gb_gpio_dev
=
g
reybus_get_drvdata
(
gdev
)
;
gb_gpio_dev
=
g
dev
->
gb_gpio_dev
;
gpiochip_remove
(
&
gb_gpio_dev
->
chip
);
gpiochip_remove
(
&
gb_gpio_dev
->
chip
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment