From: Greg Kroah-Hartman Date: Fri, 13 Sep 2013 18:32:49 +0000 (-0700) Subject: hv: use dev_groups for device attributes X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f3a9107f5e848a42f25e3ab133db9f3b6546c7;p=pandora-kernel.git hv: use dev_groups for device attributes This patch is the first in a series that moves the hv bus code to use the dev_groups field instead of dev_attrs, as dev_attrs is going away in future kernel releases. It moves the id sysfs file to the dev_groups structure, and creates the needed show/store functions, instead of relying on one "universal" function for this. By doing this, it removes the need for this to be in a temporary structure. Tested-by: "K. Y. Srinivasan" Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed