Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753165AbdIURUJ (ORCPT ); Thu, 21 Sep 2017 13:20:09 -0400 Received: from mga14.intel.com ([192.55.52.115]:29574 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753089AbdIURUG (ORCPT ); Thu, 21 Sep 2017 13:20:06 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,425,1500966000"; d="scan'208";a="1222000610" Date: Thu, 21 Sep 2017 22:53:56 +0530 From: Vinod Koul To: Corentin Labbe Cc: dan.j.williams@intel.com, maxime.ripard@free-electrons.com, wens@csie.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dmaengine: sun6i: use of_device_get_match_data Message-ID: <20170921172356.GK30097@localhost> References: <20170920072402.27704-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170920072402.27704-1-clabbe.montjoie@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 252 Lines: 9 On Wed, Sep 20, 2017 at 09:24:02AM +0200, Corentin Labbe wrote: > The usage of of_device_get_match_data reduce the code size a bit. > Furthermore, it prevents an improbable dereference when > of_match_device() return NULL. Applied, thanks -- ~Vinod