From: Frank Praznik Date: Wed, 30 Jul 2014 02:55:48 +0000 (-0700) Subject: HID: sony: Default initialize all elements of the LED max_brightness array to 1 X-Git-Tag: cleanup-for-v3.18~99^2^8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5607c89a115563104e1eea8d597282c799e75c99;p=pandora-kernel.git HID: sony: Default initialize all elements of the LED max_brightness array to 1 Previously only the first element of the array was initialized to 1 leading to potential incorrect max brightness values for the LEDs on the Dualshock 3 and buzzer controllers. Use a designated initializer to initialize the whole array to the correct value. Signed-off-by: Frank Praznik Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed