ACPI: NFIT: Use kobj_to_dev() instead
authorWang Qing <wangqing@vivo.com>
Thu, 13 Aug 2020 02:49:10 +0000 (10:49 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Sep 2020 17:37:29 +0000 (19:37 +0200)
commit5f155515d37351f90dbb1c8a5a5cae13190c8564
treef0f99987b848279425745187bbffd150fe071cf1
parent856deb866d16e29bd65952e0289066f6078af773
ACPI: NFIT: Use kobj_to_dev() instead

Use kobj_to_dev() instead of container_of()

Signed-off-by: Wang Qing <wangqing@vivo.com>
Acked-by: Vishal Verma <vishal.l.verma@intel.com>
[ rjw: Subject edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/nfit/core.c