Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1726484
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC v2 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls |
| Date | 2017-09-05 09:40 +0200 |
| Message-ID | <umgCL-8ei-19@gated-at.bofh.it> (permalink) |
| References | <ulrTA-1RK-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, 02 Sep 2017, sathyanarayanan.kuppuswamy@linux.intel.com wrote: > From: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> > > Removed redundant IPC helper functions and refactored the driver to use > generic IPC device driver APIs. > > This patch also cleans-up PMC IPC user drivers to use APIs provided > by generic IPC driver. > > Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> > --- > arch/x86/include/asm/intel_pmc_ipc.h | 37 +-- > drivers/mfd/intel_soc_pmic_bxtwc.c | 24 +- > include/linux/mfd/intel_soc_pmic.h | 2 + I'm a bit concerned by the API. Any reason why you're not using pointers for addresses? And for the arguments where you are using pointers, you should be using NULL, instead of 0. > drivers/platform/x86/intel_pmc_ipc.c | 364 +++++++++----------------- > drivers/platform/x86/intel_telemetry_pltdrv.c | 114 ++++---- > 5 files changed, 215 insertions(+), 326 deletions(-) > > Changes since v1: > * Removed custom APIs. > * Cleaned up PMC IPC user drivers to use APIs provided by generic > IPC driver. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC v2 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls sathyanarayanan.kuppuswamy@linux.intel.com - 2017-09-03 03:30 +0200
Re: [RFC v2 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls Lee Jones <lee.jones@linaro.org> - 2017-09-05 09:40 +0200
Re: [RFC v2 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls "Kuppuswamy, Sathyanarayanan" <sathyaosid@gmail.com> - 2017-09-06 07:30 +0200
Re: [RFC v2 6/6] platform/x86: intel_pmc_ipc: Use generic Intel IPC device calls Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-09-06 11:10 +0200
csiph-web