staging: comedi: Fix line ending with a (
PATCH 1/1 staging: comedi: Fix line ending with a (
Fix style issue with declaration by adopting the same style as the function defintion in drivers/staging/comedi/comedi_buf.c.
Issue reported by checkpatch.
Signed-off-by John B. Wyatt IV <[email protected]>
--- drivers/staging/comedi/comedi_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/comedi/comedi_internal.h +2 -2
@@ -32,8 +32,8 @@ void comedi_buf_map_get(struct comedi_buf_map *bm);int comedi_buf_map_put (struct comedi_buf_map *bm);int comedi_buf_map_access (struct comedi_buf_map *bm,unsigned long offset,void *buf,int len,int write); -struct comedi_buf_map *comedi_buf_map_from_subdev_get ( -struct comedi_subdevice *s); +struct comedi_buf_map * +comedi_buf_map_from_subdev_get (struct comedi_subdevice *s);unsigned int comedi_buf_write_n_available (struct comedi_subdevice *s);unsigned int comedi_buf_write_n_allocated (struct comedi_subdevice *s);void comedi_device_cancel_all (struct comedi_device *dev);
Signature · 1 line
2.25.1
Quoted 6 lines · On Sun, 29 Mar 2020 01:00:31 -0700 "John B. Wyatt IV" <[email protected]>…
Fix style issue with declaration by adopting the same style as the function defintion in
drivers/staging/comedi/comedi_buf.c.Issue reported by checkpatch.
Signed-off-by John B. Wyatt IV <[email protected]>
Reviewed-by Stefano Brivio <[email protected]>
Signature · 1 line
Stefano