Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbdGXH70 (ORCPT ); Mon, 24 Jul 2017 03:59:26 -0400 Received: from wp244.webpack.hosteurope.de ([80.237.133.13]:48372 "EHLO wp244.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788AbdGXH7S (ORCPT ); Mon, 24 Jul 2017 03:59:18 -0400 Date: Mon, 24 Jul 2017 09:59:14 +0200 (CEST) From: Marcus Wolf To: Dan Carpenter , Derek Robson Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Message-ID: <751491711.25525.1500883155104@ox.hosteurope.de> In-Reply-To: <20170724074106.kv7rrudculdheweq@mwanda> References: <20170722035050.27704-1-robsonde@gmail.com> <20170724074106.kv7rrudculdheweq@mwanda> Subject: Re: [PATCH 1/3] staging: pi433: Style fix - align block comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.3-Rev27 X-Originating-Client: com.openexchange.ox.gui.dhtml X-bounce-key: webpack.hosteurope.de;marcus.wolf@wolf-entwicklungen.de;1500883158;4bdf074d; X-HE-SMSGID: 1dZYGp-0007gL-6u Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 946 Lines: 32 Hi Dan, when I started with the RFM69CW about two years ago (at the beginning not as a driver, but everything within the applicaton) I kind of automatically produced a list of all registers of the chip (most probably by importing and reorganizing the datasheet in Excel). Everytime I need to touch a register, I started to crosscheck the names and masks and took them out of comment. All registers, I did not touch the last two years are from this autogeneration and commented. There is stil a lot of functionality of the chip, that's not supported (or not needed) by the driver. Cheers, Marcus > Dan Carpenter hat am 24. Juli 2017 um 09:41 > geschrieben: > > > On Sat, Jul 22, 2017 at 03:50:50PM +1200, Derek Robson wrote: > > + * // RegOsc1 > > + * #define OSC1_RCCAL_START 0x80 > > + * #define OSC1_RCCAL_DONE 0x40 > > + * > > Why do we have all these commented out defines? > > regards, > dan carpenter > >