treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / power / cpupower / lib / cpupower_intern.h
blob4887c76d23f868c060364dab8795702570a91e6f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #define PATH_TO_CPU "/sys/devices/system/cpu/"
3 #define MAX_LINE_LEN 4096
4 #define SYSFS_PATH_MAX 255
6 unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);