From: Mauro Carvalho Chehab Date: Tue, 19 Feb 2013 11:04:55 +0000 (-0300) Subject: edac: only create sdram_scrub_rate where supported X-Git-Tag: v3.9-rc1~33^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7100478fa894c45ae33321b5721b5a8f956b814;p=pandora-kernel.git edac: only create sdram_scrub_rate where supported Currently, sdram_scrub_rate sysfs node is created even if the device doesn't support get/set the scub rate. Change the logic to only create this device node when the operation is supported. Reported-by: Felipe Balbi Acked-by: Borislav Petkov Reviewed-by: Felipe Balbi Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed