staging/dgap: Use strpbrk() instead of dgap_sindex()
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Fri, 11 Sep 2015 18:22:15 +0000 (00:22 +0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:57 +0000 (18:24 -0700)
commitb9f7f1d0846f15585b8af64435b6b706b25a5c0b
tree0290636d4de29fc4c2f58713270a9cc2a625730b
parent7e25075e3e34cedf660c63e30bfcc7e385d40766
staging/dgap: Use strpbrk() instead of dgap_sindex()

The <linux/string.h> provides strpbrk() function that does
the same that the dgap_sindex(). Let's use already defined
function instead of writing custom.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c