OSDN Git Service

scsi: ufs-msm: remove unnecessary callbacks of generic PHY framework
authorYaniv Gardi <ygardi@codeaurora.org>
Wed, 6 Aug 2014 15:11:52 +0000 (18:11 +0300)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 17:57:11 +0000 (10:57 -0700)
commit8a18d53c38c40d4155da57dfccf78f83ac6031c1
tree468c0d3a3cc3e530d0c36590bb9c22a056fbacc6
parent6b3f3f257aa58e294dbe6fed5ca50435a59b02ea
scsi: ufs-msm: remove unnecessary callbacks of generic PHY framework

In this change unnecessary callbacks of the generic PHY framework
are removed and instead we call the required operations directly in
the driver.
The callbacks that were removed are:
phy_suspend(), phy_resume() and advertise_quirks()

In addition, one specific callback of the generic PHY is added:
restore_configuration() as complementary callback of save_configuration().

Change-Id: Iaf2be3ebff7a9978adae50c3f2617714106c40ac
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
drivers/scsi/ufs/ufs-msm-phy-qmp-20nm.c
drivers/scsi/ufs/ufs-msm-phy-qmp-28nm.c
drivers/scsi/ufs/ufs-msm-phy.c
drivers/scsi/ufs/ufs-msm-phy.h
drivers/scsi/ufs/ufs-msm.c