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
fe327042
Commit
fe327042
authored
Sep 07, 2014
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
greybus: minor whitespace cleanups to make checkpatch.pl happy
parent
d47aa761
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
drivers/staging/greybus/battery-gb.c
drivers/staging/greybus/battery-gb.c
+1
-2
drivers/staging/greybus/gbuf.c
drivers/staging/greybus/gbuf.c
+0
-7
No files found.
drivers/staging/greybus/battery-gb.c
View file @
fe327042
...
...
@@ -90,7 +90,6 @@ static int get_property(struct power_supply *b,
return
0
;
}
// FIXME - verify this list, odds are some can be removed and others added.
static
enum
power_supply_property
battery_props
[]
=
{
POWER_SUPPLY_PROP_TECHNOLOGY
,
...
...
@@ -102,7 +101,7 @@ static enum power_supply_property battery_props[] = {
};
int
gb_battery_probe
(
struct
greybus_device
*
gdev
,
const
struct
greybus_module_id
*
id
)
const
struct
greybus_module_id
*
id
)
{
struct
gb_battery
*
gb
;
struct
power_supply
*
b
;
...
...
drivers/staging/greybus/gbuf.c
View file @
fe327042
...
...
@@ -18,7 +18,6 @@
#include "greybus.h"
/**
* greybus_alloc_gbuf - allocate a greybus buffer
*
...
...
@@ -85,7 +84,6 @@ void greybus_free_gbuf(struct gbuf *gbuf)
{
/* drop the reference count and get out of here */
kref_put_mutex
(
&
gbuf
->
kref
,
free_gbuf
,
&
gbuf_mutex
);
}
EXPORT_SYMBOL_GPL
(
greybus_free_gbuf
);
...
...
@@ -98,8 +96,6 @@ struct gbuf *greybus_get_gbuf(struct gbuf *gbuf)
}
EXPORT_SYMBOL_GPL
(
greybus_get_gbuf
);
int
greybus_submit_gbuf
(
struct
gbuf
*
gbuf
,
gfp_t
mem_flags
)
{
return
-
ENOMEM
;
...
...
@@ -109,6 +105,3 @@ int greybus_kill_gbuf(struct gbuf *gbuf)
{
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