Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694521

Re: [PATCH 1/3] staging: pi433: Style fix - align block comments

From Marcus Wolf <marcus.wolf@wolf-entwicklungen.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] staging: pi433: Style fix - align block comments
Date 2017-07-24 10:00 +0200
Message-ID <u6Grw-1RH-23@gated-at.bofh.it> (permalink)
References <u5TKa-5cO-3@gated-at.bofh.it> <u6GhQ-1Ow-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <dan.carpenter@oracle.com> 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
>
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] staging: pi433: Style fix - align block comments Derek Robson <robsonde@gmail.com> - 2017-07-22 06:00 +0200
  Re: [PATCH 1/3] staging: pi433: Style fix - align block comments Marcus Wolf <marcus.wolf@wolf-entwicklungen.de> - 2017-07-22 11:20 +0200
  Re: [PATCH 1/3] staging: pi433: Style fix - align block comments Dan Carpenter <dan.carpenter@oracle.com> - 2017-07-24 09:50 +0200
    Re: [PATCH 1/3] staging: pi433: Style fix - align block comments Marcus Wolf <marcus.wolf@wolf-entwicklungen.de> - 2017-07-24 10:00 +0200

csiph-web