staging: comedi: jr3_pci: pass transform by reference
authorIan Abbott <abbotti@mev.co.uk>
Fri, 17 Feb 2017 11:09:17 +0000 (11:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:16:58 +0000 (09:16 +0100)
commit8c8022fcd8de5262fbf15177979553c1847bdc55
treef70090d0a4495e8a7fa2a745637c6af5446559f8
parent4af8c8195188b5d9ceaea4925a0e7f48a3e3c6c0
staging: comedi: jr3_pci: pass transform by reference

Local function `set_transforms` has a parameter of type `struct
jr3_pci_transform`.  This has a size 32 bytes, which is quite large for
passing around in a function call.  Change it to use type `const struct
jr3_pci_transform *`.  (In practice, it is probably inlined by the
compiler anyway, but doing this seems to save a few bytes.)

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/jr3_pci.c