mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
staging: comedi: ni_tio.h: tidy up struct ni_gpct_device
Fix the checkpatch.pl issues: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' CHECK: spinlock_t definition without comment Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5994e51b20
commit
a38a140886
@ -120,9 +120,9 @@ struct ni_gpct_device {
|
||||
unsigned int (*read)(struct ni_gpct *, enum ni_gpct_register);
|
||||
enum ni_gpct_variant variant;
|
||||
struct ni_gpct *counters;
|
||||
unsigned num_counters;
|
||||
unsigned regs[NITIO_NUM_REGS];
|
||||
spinlock_t regs_lock;
|
||||
unsigned int num_counters;
|
||||
unsigned int regs[NITIO_NUM_REGS];
|
||||
spinlock_t regs_lock; /* protects 'regs' */
|
||||
};
|
||||
|
||||
struct ni_gpct_device *
|
||||
|
Loading…
x
Reference in New Issue
Block a user