iio/inkern.c Use list_for_each_entry_safe
authorAnshul Garg <aksgarg1989@gmail.com>
Tue, 8 Dec 2015 17:45:56 +0000 (09:45 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 12 Dec 2015 17:23:37 +0000 (17:23 +0000)
commitc34c18195d30aa3b95f5ae1b4349875c45fdb8e4
tree381c6971291d01b918e1c127dc27d11a105e7af1
parent50672011d676aea5e521bc77dfce0c9eea040782
iio/inkern.c Use list_for_each_entry_safe

Use list_for_each_entry_safe instead of list_for_each_safe
and list_entry call.

Signed-off-by: Anshul Garg <aksgarg1989@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/inkern.c