From: Alex Chiang Date: Mon, 19 Oct 2009 21:14:45 +0000 (-0600) Subject: ACPI: dock: add struct dock_station * directly to platform device data X-Git-Tag: v2.6.33-rc1~47^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe06fba292af5ed5c1c6ad9af3a9ef68da7a5088;p=pandora-kernel.git ACPI: dock: add struct dock_station * directly to platform device data Instead of adding a (struct dock_station **) to our dock device's platform data, we can add the (struct dock_station *) directly. This change saves us some ugly casting and improves readability. The cost of making this change is an extra 290 bytes of stack usage, but this is an infrequently called code-path and unlikely to cause the kernel to blow up. Signed-off-by: Alex Chiang Acked-by: Shaohua Li Signed-off-by: Len Brown --- Reading git-diff-tree failed