pch_phub: Build context save/restore only for PM
authorThierry Reding <treding@nvidia.com>
Thu, 2 Oct 2014 07:26:16 +0000 (09:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 18:28:36 +0000 (10:28 -0800)
commit7750efd59a290ab089bfc5c121787f4c630fe606
treee6dce99ec3d1128f53da16ec7ee0c21968860705
parentcf35d6e0475982667b0d2d318fb27be4b8849827
pch_phub: Build context save/restore only for PM

The pch_phub_save_reg_conf() and pch_phub_restore_reg_conf() functions
are only used for suspend/resume support (i.e. when PM is enabled). If
PM is disabled they don't need to be built.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/pch_phub.c