projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sound: Remove unnecessary casts of private_data
[cascardo/linux.git]
/
sound
/
pci
/
ice1712
/
pontis.c
diff --git
a/sound/pci/ice1712/pontis.c
b/sound/pci/ice1712/pontis.c
index
6bc3f91
..
cdb873f
100644
(file)
--- a/
sound/pci/ice1712/pontis.c
+++ b/
sound/pci/ice1712/pontis.c
@@
-638,7
+638,7
@@
static struct snd_kcontrol_new pontis_controls[] __devinitdata = {
*/
static void wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
*/
static void wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
- struct snd_ice1712 *ice =
(struct snd_ice1712 *)
entry->private_data;
+ struct snd_ice1712 *ice = entry->private_data;
char line[64];
unsigned int reg, val;
mutex_lock(&ice->gpio_mutex);
char line[64];
unsigned int reg, val;
mutex_lock(&ice->gpio_mutex);
@@
-653,7
+653,7
@@
static void wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buf
static void wm_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
static void wm_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
- struct snd_ice1712 *ice =
(struct snd_ice1712 *)
entry->private_data;
+ struct snd_ice1712 *ice = entry->private_data;
int reg, val;
mutex_lock(&ice->gpio_mutex);
int reg, val;
mutex_lock(&ice->gpio_mutex);
@@
-676,7
+676,7
@@
static void wm_proc_init(struct snd_ice1712 *ice)
static void cs_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
static void cs_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{
- struct snd_ice1712 *ice =
(struct snd_ice1712 *)
entry->private_data;
+ struct snd_ice1712 *ice = entry->private_data;
int reg, val;
mutex_lock(&ice->gpio_mutex);
int reg, val;
mutex_lock(&ice->gpio_mutex);