• Joe Perches's avatar
    drivers/isdn/gigaset: tasklet_init - Remove unnecessary leading & from second arg · 5452fee2
    Joe Perches authored
    Changed function pointer use from non-majority address-of style
    to majority short form without & via:
    
    grep -rPl "\btasklet_init\s*\([^,\)]+,\s*\&" drivers/isdn | while read file ; do \
            perl -i -e 'local $/; while (<>) { s@(\btasklet_init\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
    done
    
    Compile tested allyesconfig x86
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    
     drivers/isdn/gigaset/bas-gigaset.c |    4 ++--
     drivers/isdn/gigaset/common.c      |    2 +-
     drivers/isdn/gigaset/interface.c   |    2 +-
     drivers/isdn/gigaset/ser-gigaset.c |    2 +-
     drivers/isdn/gigaset/usb-gigaset.c |    2 +-
     5 files changed, 6 insertions(+), 6 deletions(-)
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5452fee2
usb-gigaset.c 25 KB