commit | e7100478fa894c45ae33321b5721b5a8f956b814 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Feb 19 08:04:55 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Feb 21 11:06:31 2013 -0300 |
tree | b7a7b9b8c723d3bbd09bc92b349a417d1f8814b9 | |
parent | 61734e1835867e6e38438c8365149748641e3525 [diff] |
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 <balbi@ti.com> Acked-by: Borislav Petkov <bp@suse.de> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>