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
8bf23e84
Commit
8bf23e84
authored
Aug 30, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: actually get the devm() change to build...
parent
e5f167f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/staging/greybus/gpio-gb.c
drivers/staging/greybus/gpio-gb.c
+1
-1
drivers/staging/greybus/uart-gb.c
drivers/staging/greybus/uart-gb.c
+1
-1
No files found.
drivers/staging/greybus/gpio-gb.c
View file @
8bf23e84
...
...
@@ -59,7 +59,7 @@ int gb_gpio_probe(struct greybus_device *gdev,
struct
device
*
dev
=
&
gdev
->
dev
;
int
retval
;
gb_gpio
=
kzalloc
(
dev
,
sizeof
(
*
gb_gpio
),
GFP_KERNEL
);
gb_gpio
=
kzalloc
(
sizeof
(
*
gb_gpio
),
GFP_KERNEL
);
if
(
!
gb_gpio
)
return
-
ENOMEM
;
gb_gpio
->
gdev
=
gdev
;
...
...
drivers/staging/greybus/uart-gb.c
View file @
8bf23e84
...
...
@@ -390,7 +390,7 @@ int gb_tty_probe(struct greybus_device *gdev,
int
retval
;
int
minor
;
gb_tty
=
kzalloc
(
&
gdev
->
dev
,
sizeof
(
*
gb_tty
),
GFP_KERNEL
);
gb_tty
=
kzalloc
(
sizeof
(
*
gb_tty
),
GFP_KERNEL
);
if
(
!
gb_tty
)
return
-
ENOMEM
;
...
...
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