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
5bb93a33
Commit
5bb93a33
authored
Mar 28, 2018
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/pcm186x' into asoc-next
parents
8f7b85a7
c044cfda
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
92 deletions
+68
-92
sound/soc/codecs/pcm186x-i2c.c
sound/soc/codecs/pcm186x-i2c.c
+0
-8
sound/soc/codecs/pcm186x-spi.c
sound/soc/codecs/pcm186x-spi.c
+0
-8
sound/soc/codecs/pcm186x.c
sound/soc/codecs/pcm186x.c
+68
-75
sound/soc/codecs/pcm186x.h
sound/soc/codecs/pcm186x.h
+0
-1
No files found.
sound/soc/codecs/pcm186x-i2c.c
View file @
5bb93a33
...
...
@@ -36,13 +36,6 @@ static int pcm186x_i2c_probe(struct i2c_client *i2c,
return
pcm186x_probe
(
&
i2c
->
dev
,
type
,
irq
,
regmap
);
}
static
int
pcm186x_i2c_remove
(
struct
i2c_client
*
i2c
)
{
pcm186x_remove
(
&
i2c
->
dev
);
return
0
;
}
static
const
struct
i2c_device_id
pcm186x_i2c_id
[]
=
{
{
"pcm1862"
,
PCM1862
},
{
"pcm1863"
,
PCM1863
},
...
...
@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(i2c, pcm186x_i2c_id);
static
struct
i2c_driver
pcm186x_i2c_driver
=
{
.
probe
=
pcm186x_i2c_probe
,
.
remove
=
pcm186x_i2c_remove
,
.
id_table
=
pcm186x_i2c_id
,
.
driver
=
{
.
name
=
"pcm186x"
,
...
...
sound/soc/codecs/pcm186x-spi.c
View file @
5bb93a33
...
...
@@ -36,13 +36,6 @@ static int pcm186x_spi_probe(struct spi_device *spi)
return
pcm186x_probe
(
&
spi
->
dev
,
type
,
irq
,
regmap
);
}
static
int
pcm186x_spi_remove
(
struct
spi_device
*
spi
)
{
pcm186x_remove
(
&
spi
->
dev
);
return
0
;
}
static
const
struct
spi_device_id
pcm186x_spi_id
[]
=
{
{
"pcm1862"
,
PCM1862
},
{
"pcm1863"
,
PCM1863
},
...
...
@@ -54,7 +47,6 @@ MODULE_DEVICE_TABLE(spi, pcm186x_spi_id);
static
struct
spi_driver
pcm186x_spi_driver
=
{
.
probe
=
pcm186x_spi_probe
,
.
remove
=
pcm186x_spi_remove
,
.
id_table
=
pcm186x_spi_id
,
.
driver
=
{
.
name
=
"pcm186x"
,
...
...
sound/soc/codecs/pcm186x.c
View file @
5bb93a33
This diff is collapsed.
Click to expand it.
sound/soc/codecs/pcm186x.h
View file @
5bb93a33
...
...
@@ -215,6 +215,5 @@ extern const struct regmap_config pcm186x_regmap;
int
pcm186x_probe
(
struct
device
*
dev
,
enum
pcm186x_type
type
,
int
irq
,
struct
regmap
*
regmap
);
int
pcm186x_remove
(
struct
device
*
dev
);
#endif
/* _PCM186X_H_ */
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