Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750968AbbFXFyH (ORCPT ); Wed, 24 Jun 2015 01:54:07 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:48472 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbbFXFx5 (ORCPT ); Wed, 24 Jun 2015 01:53:57 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-14-558a45f2512f Message-id: <558A45F0.2010601@samsung.com> Date: Wed, 24 Jun 2015 07:53:52 +0200 From: Andrzej Hajda User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-version: 1.0 To: Antonio Borneo , Mauro Carvalho Chehab , Kyungmin Park , linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/6] [media] s5c73m3: Remove redundant spi driver bus initialization References: <1435070714-24174-1-git-send-email-borneo.antonio@gmail.com> <1435071199-24630-1-git-send-email-borneo.antonio@gmail.com> In-reply-to: <1435071199-24630-1-git-send-email-borneo.antonio@gmail.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsVy+t/xq7qfXLtCDQ58NLE4uHIZk8XZpjfs Fpd3zWGz6NmwldVi9bMKB1aPnbPusnts6QcSfVtWMXp83iQXwBLFZZOSmpNZllqkb5fAlbF5 /lKmgr+cFafXH2dtYDzA0cXIySEhYCLx8XM/C4QtJnHh3nq2LkYuDiGBpYwSkz7OZYFwnjNK rFj4ixmkildAS+Lukw3sIDaLgKrEh4XP2EBsNgFNib+bb4LZogIREm8vn2SCqBeU+DH5Htgg EYFVjBIde86ANTMLKEj8ureJFcQWFoiS+Hr7LdS2dkaJtc/3gRVxCnhKPGxbDrSZA6hBT+L+ RS2IXnmJzWveMk9gFJiFZMcshKpZSKoWMDKvYhRNLU0uKE5KzzXUK07MLS7NS9dLzs/dxAgJ 4y87GBcfszrEKMDBqMTDy/C5M1SINbGsuDL3EKMEB7OSCO8Uua5QId6UxMqq1KL8+KLSnNTi Q4zSHCxK4rxzd70PERJITyxJzU5NLUgtgskycXBKNTCa+W67zCsmWLxs8/J7JYFb7gactHz7 b1ekdETm964107p8lk4pdtkVXxHg/Ntowc2dRxN4WJ5HzhZp9Lh+4aLwxNjuyEm3Aw9uvS4k zVP4J/npnO6KWIlOm7X/Hokc4XujNam3X+oM46X4uZ2GmetOfJ+5an36Iib5Z0/OPPtswHCR e9pORk5vJZbijERDLeai4kQAPA3YYV8CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1489 Lines: 38 On 06/23/2015 04:53 PM, Antonio Borneo wrote: > In ancient times it was necessary to manually initialize the bus > field of an spi_driver to spi_bus_type. These days this is done in > spi_register_driver(), so we can drop the manual assignment. > > Signed-off-by: Antonio Borneo > To: Mauro Carvalho Chehab > To: Kyungmin Park > To: Andrzej Hajda > To: linux-media@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Reviewed-by: Andrzej Hajda Regards Andrzej > --- > drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c > index 63eb190..fa4a5eb 100644 > --- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c > +++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c > @@ -149,7 +149,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state) > spidrv->remove = s5c73m3_spi_remove; > spidrv->probe = s5c73m3_spi_probe; > spidrv->driver.name = S5C73M3_SPI_DRV_NAME; > - spidrv->driver.bus = &spi_bus_type; > spidrv->driver.owner = THIS_MODULE; > spidrv->driver.of_match_table = s5c73m3_spi_ids; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/