From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754243AbbALVEp (ORCPT ); Mon, 12 Jan 2015 16:04:45 -0500 Received: from 251.110.2.81.in-addr.arpa ([81.2.110.251]:41792 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753420AbbALVEn (ORCPT ); Mon, 12 Jan 2015 16:04:43 -0500 Date: Mon, 12 Jan 2015 21:04:22 +0000 From: One Thousand Gnomes To: Ezequiel Garcia Cc: Andrew Bresticker , Thierry Reding , James Hartley , "Arnd Bergmann" , Greg Kroah-Hartman , , , , , Naidu Tellapati , Naidu Tellapati , Sai Masarapu Subject: Re: [PATCH v8 1/2] pwm: Imagination Technologies PWM DAC driver Message-ID: <20150112210422.39f715a2@lxorguk.ukuu.org.uk> In-Reply-To: <1420826088-13113-2-git-send-email-ezequiel.garcia@imgtec.com> References: <1420826088-13113-1-git-send-email-ezequiel.garcia@imgtec.com> <1420826088-13113-2-git-send-email-ezequiel.garcia@imgtec.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-redhat-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 > + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); What if you've not been given a resource ? Otherwise looks fine to me