repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
power
/
cpupower
/
lib
/
cpupower_intern.h
blob
4887c76d23f868c060364dab8795702570a91e6f
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
5
6
unsigned int
cpupower_read_sysfs
(
const char
*
path
,
char
*
buf
,
size_t
buflen
);