From: Wei WANG Date: Tue, 20 Aug 2013 06:18:52 +0000 (+0800) Subject: mfd: rtsx: Add shutdown callback in rtsx_pci_driver X-Git-Tag: v3.12-rc1~100^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5947c167d145f32d4475d647a87e2af2699efe45;p=pandora-kernel.git mfd: rtsx: Add shutdown callback in rtsx_pci_driver Some actions to clear power state should be handled in .shutdown callback in rtsx_pci_driver. This patch adopts the following measures to catch this goal: 1. Add a function rtsx_pci_power_off to abstract the common ops in .shutdown and .suspend 2. Add pcr->ops->force_power_down to fulfill the individual action for each reader model Signed-off-by: Wei WANG Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed