From: Matthijs Kooijman Date: Thu, 11 Apr 2013 16:43:47 +0000 (+0200) Subject: staging: dwc2: Make dwc2_set_uninitialized more specific X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8284f93b3d8b21e30bd8fde97686433a52b49c58;p=pandora-kernel.git staging: dwc2: Make dwc2_set_uninitialized more specific Before, it was a function that would set all members of a given struct containing only int members to -1. Now, it is renamed to dwc_set_all_params and it works only on the dwc2_core_params struct. This makes sure that all of the slightly dubious casting and assumptions happen inside the function instead of by the caller. Signed-off-by: Matthijs Kooijman Acked-by: Paul Zimmerman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed