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
0f9313ad
Commit
0f9313ad
authored
Jul 27, 2010
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB: staging/lirc: CodingStyle cleanups
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
14f184e6
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
11 deletions
+10
-11
drivers/staging/lirc/lirc_bt829.c
drivers/staging/lirc/lirc_bt829.c
+1
-1
drivers/staging/lirc/lirc_imon.c
drivers/staging/lirc/lirc_imon.c
+1
-1
drivers/staging/lirc/lirc_it87.c
drivers/staging/lirc/lirc_it87.c
+1
-1
drivers/staging/lirc/lirc_parallel.c
drivers/staging/lirc/lirc_parallel.c
+1
-1
drivers/staging/lirc/lirc_sasem.c
drivers/staging/lirc/lirc_sasem.c
+1
-1
drivers/staging/lirc/lirc_serial.c
drivers/staging/lirc/lirc_serial.c
+1
-1
drivers/staging/lirc/lirc_sir.c
drivers/staging/lirc/lirc_sir.c
+1
-1
drivers/staging/lirc/lirc_streamzap.c
drivers/staging/lirc/lirc_streamzap.c
+1
-1
drivers/staging/lirc/lirc_ttusbir.c
drivers/staging/lirc/lirc_ttusbir.c
+1
-2
drivers/staging/lirc/lirc_zilog.c
drivers/staging/lirc/lirc_zilog.c
+1
-1
No files found.
drivers/staging/lirc/lirc_bt829.c
View file @
0f9313ad
...
...
@@ -77,7 +77,7 @@ static struct pci_dev *do_pci_probe(void)
pci_addr_phys
=
0
;
if
(
my_dev
->
resource
[
0
].
flags
&
IORESOURCE_MEM
)
{
pci_addr_phys
=
my_dev
->
resource
[
0
].
start
;
printk
(
KERN_INFO
DRIVER_NAME
": memory at 0x%08X
\n
"
,
printk
(
KERN_INFO
DRIVER_NAME
": memory at 0x%08X
\n
"
,
(
unsigned
int
)
pci_addr_phys
);
}
if
(
pci_addr_phys
==
0
)
{
...
...
drivers/staging/lirc/lirc_imon.c
View file @
0f9313ad
...
...
@@ -111,7 +111,7 @@ struct imon_context {
}
tx
;
};
static
struct
file_operations
display_fops
=
{
static
const
struct
file_operations
display_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
&
display_open
,
.
write
=
&
vfd_write
,
...
...
drivers/staging/lirc/lirc_it87.c
View file @
0f9313ad
...
...
@@ -329,7 +329,7 @@ static void add_read_queue(int flag, unsigned long val)
}
static
struct
file_operations
lirc_fops
=
{
static
const
struct
file_operations
lirc_fops
=
{
.
owner
=
THIS_MODULE
,
.
read
=
lirc_read
,
.
write
=
lirc_write
,
...
...
drivers/staging/lirc/lirc_parallel.c
View file @
0f9313ad
...
...
@@ -539,7 +539,7 @@ static int lirc_close(struct inode *node, struct file *filep)
return
0
;
}
static
struct
file_operations
lirc_fops
=
{
static
const
struct
file_operations
lirc_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
lirc_lseek
,
.
read
=
lirc_read
,
...
...
drivers/staging/lirc/lirc_sasem.c
View file @
0f9313ad
...
...
@@ -119,7 +119,7 @@ struct sasem_context {
};
/* VFD file operations */
static
struct
file_operations
vfd_fops
=
{
static
const
struct
file_operations
vfd_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
&
vfd_open
,
.
write
=
&
vfd_write
,
...
...
drivers/staging/lirc/lirc_serial.c
View file @
0f9313ad
...
...
@@ -1050,7 +1050,7 @@ static long lirc_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
return
0
;
}
static
struct
file_operations
lirc_fops
=
{
static
const
struct
file_operations
lirc_fops
=
{
.
owner
=
THIS_MODULE
,
.
write
=
lirc_write
,
.
unlocked_ioctl
=
lirc_ioctl
,
...
...
drivers/staging/lirc/lirc_sir.c
View file @
0f9313ad
...
...
@@ -451,7 +451,7 @@ static void add_read_queue(int flag, unsigned long val)
wake_up_interruptible
(
&
lirc_read_queue
);
}
static
struct
file_operations
lirc_fops
=
{
static
const
struct
file_operations
lirc_fops
=
{
.
owner
=
THIS_MODULE
,
.
read
=
lirc_read
,
.
write
=
lirc_write
,
...
...
drivers/staging/lirc/lirc_streamzap.c
View file @
0f9313ad
...
...
@@ -431,7 +431,7 @@ static void usb_streamzap_irq(struct urb *urb)
return
;
}
static
struct
file_operations
streamzap_fops
=
{
static
const
struct
file_operations
streamzap_fops
=
{
.
owner
=
THIS_MODULE
,
.
unlocked_ioctl
=
streamzap_ioctl
,
.
read
=
lirc_dev_fop_read
,
...
...
drivers/staging/lirc/lirc_ttusbir.c
View file @
0f9313ad
...
...
@@ -141,8 +141,7 @@ static void set_use_dec(void *data)
* still have about 14 samples per pulse/space, i.e. we sample with 14
* times higher frequency than the signal frequency
*/
const
unsigned
char
map_table
[]
=
{
const
unsigned
char
map_table
[]
=
{
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
...
...
drivers/staging/lirc/lirc_zilog.c
View file @
0f9313ad
...
...
@@ -1132,7 +1132,7 @@ static struct i2c_driver driver = {
.
id_table
=
ir_transceiver_id
,
};
static
struct
file_operations
lirc_fops
=
{
static
const
struct
file_operations
lirc_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
lseek
,
.
read
=
read
,
...
...
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