From patchwork Tue Aug 16 06:04:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9282633 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CA50960574 for ; Tue, 16 Aug 2016 06:04:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B74F7286BF for ; Tue, 16 Aug 2016 06:04:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A806C286C0; Tue, 16 Aug 2016 06:04:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CFF7286AF for ; Tue, 16 Aug 2016 06:04:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753204AbcHPGEl (ORCPT ); Tue, 16 Aug 2016 02:04:41 -0400 Received: from mout.web.de ([212.227.15.3]:58474 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbcHPGEj (ORCPT ); Tue, 16 Aug 2016 02:04:39 -0400 Received: from [192.168.1.3] ([77.182.93.131]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0LdVdS-1aqozv1as6-00imF2; Tue, 16 Aug 2016 08:04:21 +0200 To: linux-crypto@vger.kernel.org, Daniel Thompson , Herbert Xu , Joshua Henderson , Matt Mackall , Purna Chandra Mandal From: SF Markus Elfring Subject: [PATCH] hwrng-PIC32: Delete unnecessary assignment for the field "owner" Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall Message-ID: <9205db89-24dc-8dc5-0e6c-1bfd60abf77f@users.sourceforge.net> Date: Tue, 16 Aug 2016 08:04:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 X-Provags-ID: V03:K0:bEaPwLrVh5DPJWyG9lpd3ha66UTJziJcip0zw5xbdQhG+xtFASE s+jaXu108jzSlO6aJqHMsLPo8KJ815RtaijW+vXkXI7tDF2XbsYIUjSVfQSqKde5zN97sjA Zhrl4NyGcrzzv3LulX5KMUWppmsso5oq53y8oVun7yOd6bBBZCkt17gwBFpl7Ga7gfYy8O+ 0TXaYVDx0+qKC1n5z9NQw== X-UI-Out-Filterresults: notjunk:1; V01:K0:zfl5XgOIZo4=:52TDkmsic4ChpbuxINrrvY llyAdMYkIeXCWtnWgKi1AE6+NQ44gj/9SgJhxVUxbNYBhlLtYKtKz8VZo291JBGabU+Ikb17N xOC6rP7iybvp1JwfdaccAWTuSxH7PFeKDOVb7vY5G6V0oGruaC3QZ1YZGPy7G04yKQME8cWFJ 2hmFJrnthzBgmFRAoToM113s8kqFmKEa0YoKT4F8nsGwfRXSuIxYVbLZ15IY/u8gbWN1fMz7N TmFChmoovKOgXTpEuxmVSV+68kmNwku8qMB6MAjFO06KCWvSXTOJ2nDFpdbNukFcAcIiaHpY4 w+tuv4tWvN2jaY/DcPeNOb5YB7+zxrjUHjk3EfBh/qOjn8OP6m3K43d9PfiVOD5uotAyfpc8a OPuzE6vSJj0y8VYaBF4d8h7L2/EFiUI/22enT5gMbBmgIiykoi8JpGVishF7CVz5D9Y5BKMjQ /1Qfc8ozOoT/InbvOmSbgCk1HQa5WRL3B5SIWHfzuG3glhMaLp8vJwf5s/H3d3gm8yt0SoZTp sKFn5+fnd8MAwJ5RQu3RCwdYD4Py0Fx3g3rTdXSa4d0VcZQoE137K4vyiwJMfkKG1MfNNUTeB uvMRMoMeaqnqrk3Y5DNr5sIic+0B41gJ3c6p2c0RZojKiA2+PWH4u05vlui2y1nFIYr4SlJW9 tQWwu8Dc+NPJT6V2g6l8hAKDcmr1DEkwTR30KhnIp9hWzmPI0F2zZ86gE//RnZZi0ZcZ+NoXo KYnK2unYzbua+s4lqj8CX8rjdvpJCiRB2uUMVejBbQQqST+d+tNAJpfizYGTqSlG8teSoDlq5 VvwIVbX Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 16 Aug 2016 07:51:21 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/char/hw_random/pic32-rng.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hw_random/pic32-rng.c b/drivers/char/hw_random/pic32-rng.c index 108897b..11dc9b7 100644 --- a/drivers/char/hw_random/pic32-rng.c +++ b/drivers/char/hw_random/pic32-rng.c @@ -143,7 +143,6 @@ static struct platform_driver pic32_rng_driver = { .remove = pic32_rng_remove, .driver = { .name = "pic32-rng", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(pic32_rng_of_match), }, };