[PATCH 2/2] i2c: aspeed: cleanup driver
joel at jms.id.au
Wed Aug 31 08:15:33 AEST 2016
On Wed, Aug 31, 2016 at 7:14 AM, Brendan Higgins
<brendanhiggins at google.com> wrote:
> Oh, and one more note: I moved out the eeprom quirk patch from this patch
> set because I think it makes sense as a different submission upstream.
That makes sense to me.
> On Tue, Aug 30, 2016 at 11:59 AM Brendan Higgins <brendanhiggins at google.com>
>> checkpatch seems to be upset about my device tree identifiers being
>> undocumented; do we have a coordinated effort for this? I did not even see a
>> directory for aspeed under arm.
As this is a driver, the binding should be added in
Documentation/devicetree/bindings/i2c/. Use one of the recently added
existing drivers as a template. Add the binding in a separate commit,
coming before the addition of the driver. When you send it upstream
you will cc the device tree maintainers, who will ack your bindings.
The driver maintainer will then merge the two patches into their tree.
>> checkpatch is also asked about updating MAINTAINERS, but looks like it
>> should be covered under existing line:
>> F: drivers/*/*aspeed*
>> Does it just ask this every time you add a file?
Yeah, I think it just complains for the sake of it.
>> - Squashed driver commits as suggested by Joel
>> - Renamed a couple functions for consistency
>> - Fixed a couple style errors
Did you send a new version?
More information about the openbmc