On Sun, Jul 10, 2016 at 2:19 AM, Bjørn Mork <[email protected]> wrote: > Martin Blumenstingl <[email protected]> writes: > >> + if (of_property_read_bool(np, "qca,clk-25mhz")) >> + ah->is_clk_25mhz = true; >> + >> + if (of_property_read_bool(np, "qca,disable-2ghz")) >> + ah->disable_2ghz = true; >> + >> + if (of_property_read_bool(np, "qca,disable-5ghz")) >> + ah->disable_5ghz = true; > > This is bike-shedding, but how about > > ah->is_clk_25mhz = of_property_read_bool(np, "qca,clk-25mhz"); > ah->disable_2ghz = of_property_read_bool(np, "qca,disable-2ghz"); > ah->disable_5ghz = of_property_read_bool(np, "qca,disable-5ghz"); I'm fine with either way - I'll simply adhere to the coding style that the ath9k devs want to use, so just let me know which one you prefer. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
- Re: [PATCH v4 1/3] Documentation: dt: net: add at... Arnd Bergmann
- Re: [PATCH v4 1/3] Documentation: dt: net: ad... Martin Blumenstingl
- Re: [PATCH v4 1/3] Documentation: dt: net... Arnd Bergmann
- Re: [PATCH v4 1/3] Documentation: dt:... Martin Blumenstingl
- Re: [PATCH v4 1/3] Documentation... Arnd Bergmann
- Re: [PATCH v4 1/3] Documentation: dt: net: add at... Kalle Valo
- Re: [PATCH v4 1/3] Documentation: dt: net: ad... Arnd Bergmann
- [PATCH v4 3/3] ath9k: parse the device configuration f... Martin Blumenstingl
- Re: [PATCH v4 3/3] ath9k: parse the device config... Bjørn Mork
- Re: [PATCH v4 3/3] ath9k: parse the device co... Oleksij Rempel
- Re: [PATCH v4 3/3] ath9k: parse the device co... Martin Blumenstingl
- [PATCH v5 0/3] add devicetree support to ath9k Martin Blumenstingl
- [PATCH v5 1/3] Documentation: dt: net: add ath9k ... Martin Blumenstingl
- Re: [PATCH v5 1/3] Documentation: dt: net: ad... Arnd Bergmann
- Re: [PATCH v5 1/3] Documentation: dt: net... Martin Blumenstingl
- Re: [PATCH v5 1/3] Documentation: dt:... Arnd Bergmann
- [PATCH v5 3/3] ath9k: parse the device configurat... Martin Blumenstingl
- [PATCH v5 2/3] ath9k: add a helper to get the str... Martin Blumenstingl
- [PATCH v6 0/3] add devicetree support to ath9k Martin Blumenstingl
- [PATCH v6 1/3] Documentation: dt: net: add at... Martin Blumenstingl
- Re: [PATCH v6 1/3] Documentation: dt: net... Oleksij Rempel
