commit 1b0289848d5d ("cpufreq: powernv: Add sysfs attributes to showthrottle stats") used policy->driver_data as a flag for one-time creationof throttle sysfs files. Instead of this use 'kernfs_find_and_get()' tocheck if the attribute already exists. This is required aspolicy->driver_data is used for other purposes in the later patch.