From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752736AbdC0NDH (ORCPT ); Mon, 27 Mar 2017 09:03:07 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:35727 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752054AbdC0NC7 (ORCPT ); Mon, 27 Mar 2017 09:02:59 -0400 Date: Mon, 27 Mar 2017 15:02:37 +0200 From: Boris Brezillon To: Claudiu Beznea Cc: , , , , , , , , , , , , , , , Subject: Re: [PATCH v3 1/2] drivers: pwm: pwm-atmel: switch to atomic PWM Message-ID: <20170327150237.69d8523f@bbrezillon> In-Reply-To: <1490189375-20384-2-git-send-email-claudiu.beznea@microchip.com> References: <1490189375-20384-1-git-send-email-claudiu.beznea@microchip.com> <1490189375-20384-2-git-send-email-claudiu.beznea@microchip.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Claudiu, On Wed, 22 Mar 2017 15:29:34 +0200 Claudiu Beznea wrote: > static const struct platform_device_id atmel_pwm_devtypes[] = { > { > .name = "at91sam9rl-pwm", > - .driver_data = (kernel_ulong_t)&atmel_pwm_data_v1, > + .driver_data = (kernel_ulong_t)&atmel_pwm_regs_v1, > }, { > .name = "sama5d3-pwm", > - .driver_data = (kernel_ulong_t)&atmel_pwm_data_v2, > + .driver_data = (kernel_ulong_t)&atmel_pwm_regs_v2, > }, { > /* sentinel */ > }, Unrelated to this series, but can you prepare a patch to get rid of this platform id table (AT91 platforms have completely switched to DT for quite some time now). You can also get rid of the "if (pdev->dev.of_node)" condition in atmel_pwm_probe() since it's guaranteed to be true, otherwise the ->probe() method wouldn't be called. Thanks, Boris