mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
Staging: comedi: Remove exceptional & on function name
n this file, function names are otherwise used as pointers without &. A simplified version of the Coccinelle semantic patch that makes this change is as follows: // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
634ffdd9ef
commit
30cc9bd64c
@ -1341,7 +1341,7 @@ static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn,
|
||||
goto out;
|
||||
}
|
||||
/* This looks arbitrary. It is. */
|
||||
s->busy = &parse_insn;
|
||||
s->busy = parse_insn;
|
||||
switch (insn->insn) {
|
||||
case INSN_READ:
|
||||
ret = s->insn_read(dev, s, insn, data);
|
||||
|
Loading…
Reference in New Issue
Block a user