From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Subject: [PATCH v2 0/2] pwm: lpss: split driver to core and probe drivers Date: Mon, 28 Jul 2014 17:27:25 +0300 Message-ID: <1406557647-23891-1-git-send-email-andriy.shevchenko@linux.intel.com> Return-path: Received: from mga01.intel.com ([192.55.52.88]:44956 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752627AbaG1O1a (ORCPT ); Mon, 28 Jul 2014 10:27:30 -0400 Sender: linux-pwm-owner@vger.kernel.org List-Id: linux-pwm@vger.kernel.org To: Thierry Reding , linux-pwm@vger.kernel.org, Mika Westerberg , One Thousand Gnomes Cc: Andy Shevchenko This small series makes the architecture of pwm-lpss driver cleaner. Since v1: - hide struct definition in the core part - rename pwm-lpss-plat to pwm-lpss-platform - fix Kconfig dependencies and other typos - add Mika's Reviewed-by tag - fix spelling in the commit messages Andy Shevchenko (2): pwm: lpss: properly split driver to parts pwm: lpss: pci: move to use pcim_enable_device() drivers/pwm/Kconfig | 21 ++++++- drivers/pwm/Makefile | 2 + drivers/pwm/pwm-lpss-pci.c | 68 ++++++++++++++++++++++ drivers/pwm/pwm-lpss-platform.c | 61 ++++++++++++++++++++ drivers/pwm/pwm-lpss.c | 125 ++-------------------------------------- drivers/pwm/pwm-lpss.h | 29 ++++++++++ 6 files changed, 186 insertions(+), 120 deletions(-) create mode 100644 drivers/pwm/pwm-lpss-pci.c create mode 100644 drivers/pwm/pwm-lpss-platform.c create mode 100644 drivers/pwm/pwm-lpss.h -- 2.0.1