regulatory: use IS_ERR macro family for freq_reg_info
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 Dec 2012 14:57:14 +0000 (15:57 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:31 +0000 (13:01 +0100)
Instead of returning an error and filling a pointer
return the pointer and an ERR_PTR value in error cases.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found