diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-19 15:04:55 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-21 18:06:31 +0400 |
commit | e7100478fa894c45ae33321b5721b5a8f956b814 (patch) | |
tree | b7a7b9b8c723d3bbd09bc92b349a417d1f8814b9 /drivers/edac/i5100_edac.c | |
parent | 61734e1835867e6e38438c8365149748641e3525 (diff) | |
download | linux-e7100478fa894c45ae33321b5721b5a8f956b814.tar.xz |
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>
Diffstat (limited to 'drivers/edac/i5100_edac.c')
0 files changed, 0 insertions, 0 deletions