Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751427AbeACIDo (ORCPT + 1 other); Wed, 3 Jan 2018 03:03:44 -0500 Received: from mail-it0-f49.google.com ([209.85.214.49]:44989 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbeACIDm (ORCPT ); Wed, 3 Jan 2018 03:03:42 -0500 X-Google-Smtp-Source: ACJfBouSyw8vab846yTG1Y8WjV1FvLF4okejdpOC4Klzu/LPY0/6M49uhTrP6IDV4TdCIXu4MEf83fbCfEuugNZykx4= MIME-Version: 1.0 In-Reply-To: <1514899688-27844-6-git-send-email-Julia.Lawall@lip6.fr> References: <1514899688-27844-1-git-send-email-Julia.Lawall@lip6.fr> <1514899688-27844-6-git-send-email-Julia.Lawall@lip6.fr> From: Linus Walleij Date: Wed, 3 Jan 2018 09:03:41 +0100 Message-ID: Subject: Re: [PATCH 05/12] pinctrl: armada-37xx: account for const type of of_device_id.data To: Julia Lawall Cc: Jason Cooper , kernel-janitors@vger.kernel.org, Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Linux ARM , linux-gpio@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 2, 2018 at 2:28 PM, Julia Lawall wrote: > The data field of an of_device_id structure has type const void *, so > there is no need for a const-discarding cast when putting const values > into such a structure. > > Done using Coccinelle. > > Signed-off-by: Julia Lawall Patch applied with Gregory's ACK. Yours, Linus Walleij