Search Linux Wireless

Re: [PATCH v4 3/3] ath9k: parse the device configuration from an OF node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 10.07.2016 um 02:19 schrieb Bjørn Mork:
> Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> 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");
> 
> instead?

Hm... i assume each WiFi hw in the world can reuse this settings, may be
it i worth to use generic names?

-- 
Regards,
Oleksij

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux