Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1240201
| From | Olliver Schinagl <oliver+list@schinagl.nl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC] pwm: chip_data vs device_data |
| Date | 2015-10-06 09:30 +0200 |
| Message-ID | <qguRc-7Jr-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hey Thierry, list, While working on something in the pwm framework, I noticed that the void *data in the pwm_device struct is called chip_data. Why is it not called device_data, since it is the data associated with a PWM device, rather then the chip, and on that note, if it really is chip related data (thus covering the whole chip, not just the single pwm device) why is there no chip_data in pwm_chip? Again, is this something worth my time to add a device_data and rename chip_data? Olliver -- 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/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[RFC] pwm: chip_data vs device_data Olliver Schinagl <oliver+list@schinagl.nl> - 2015-10-06 09:30 +0200
Re: [RFC] pwm: chip_data vs device_data Thierry Reding <thierry.reding@gmail.com> - 2015-10-06 09:40 +0200
Re: [RFC] pwm: chip_data vs device_data Olliver Schinagl <oliver+list@schinagl.nl> - 2015-10-06 10:30 +0200
Re: [RFC] pwm: chip_data vs device_data Thierry Reding <thierry.reding@gmail.com> - 2015-10-06 11:20 +0200
csiph-web