simplify linked_list using _entry_ operations

Instead of using list_for_each with a list_entry, use
list_for_each_entry which is simpler.