From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755827AbbBPObK (ORCPT ); Mon, 16 Feb 2015 09:31:10 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:64017 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877AbbBPObI (ORCPT ); Mon, 16 Feb 2015 09:31:08 -0500 Date: Mon, 16 Feb 2015 14:31:03 +0000 From: Lee Jones To: micky_ching@realsil.com.cn Cc: sameo@linux.intel.com, devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, rogerable@realtek.com, wei_wang@realsil.com.cn Subject: Re: [RESEND PATCH v2 6/9] mfd: rtsx: remove LCTLR defination Message-ID: <20150216143103.GM14545@x1> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Jan 2015, micky_ching@realsil.com.cn wrote: > From: Micky Ching > > To enable/disable ASPM we should find LINK CONTROL register > in PCI config space. All old chip use 0x80 address, but new > chip may use another address, so we using pci_find_capability() > to get LINK CONTROL address. > > rtsx_gops.c was removed, we consider to put some common operations > to this file, but the actual thing is, only a group of chips > are in common ops1, and another group of chips in common ops2, > it is hard to decide put which ops into generic ops file. > > Signed-off-by: Micky Ching > --- > drivers/mfd/Makefile | 2 +- > drivers/mfd/rts5227.c | 2 +- > drivers/mfd/rts5249.c | 3 +-- > drivers/mfd/rtsx_gops.c | 37 ------------------------------------- > drivers/mfd/rtsx_pcr.c | 22 +++++++++++++++++----- > include/linux/mfd/rtsx_pci.h | 10 +--------- > 6 files changed, 21 insertions(+), 55 deletions(-) > delete mode 100644 drivers/mfd/rtsx_gops.c Acked-by: Lee Jones -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog