agp: change agp_free_page_array to use kvfree
authorWang, Yalin <Yalin.Wang@sonymobile.com>
Wed, 28 Jan 2015 05:57:34 +0000 (13:57 +0800)
committerDave Airlie <airlied@redhat.com>
Thu, 29 Jan 2015 02:37:41 +0000 (12:37 +1000)
commite410055331c2f474872b364dce3d4042418e892b
treeb1ee0e24726b8da7b5451533fdd20986c01db883
parentb3869b17fd63bacb53ac4db4ff4ba093701e17be
agp: change agp_free_page_array to use kvfree

Change agp_free_page_array to use kvfree function,
remove the duplicated code.

Signed-off-by: Yalin Wang <yalin.wang@sonymobile.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/agp.h
drivers/char/agp/generic.c