summaryrefslogtreecommitdiff
path: root/str.h
blob: 7b8916cb11ab7ea598fe8771f542f203d904bf80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef STR_H
#define STR_H

#include "built_in.h"

extern size_t strlcpy(char *dest, const char *src, size_t size);
extern int slprintf(char *dst, size_t size, const char *fmt, ...)  __check_format_printf(3, 4);
extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...);
extern char *strtrim_right(char *p, char c);
extern noinline void *xmemset(void *s, int c, size_t n);

#endif /* STR_H */
n value='3' selected='selected'>3space:mode:
Diffstat (limited to 'Documentation/devicetree/bindings')
oid'>b8db3714d7479881e23de20735f60f1733723241 (patch)
tree398e50ba60df642d66d470755ead99b24383daf5 /Documentation/i2c/fault-codes
parent6905732c80bc7f85602abbe27f7bdc3fe81f56d0 (diff)
parentcbfff439c54f37fc363b1d365183fa61af43585c (diff)
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang: "Mostly driver bugfixes, but also a few cleanups which are nice to have out of the way" * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: rk3x: Restore clock settings at resume time i2c: Spelling s/acknowedge/acknowledge/ i2c: designware: save the preset value of DW_IC_SDA_HOLD Documentation: i2c: slave-interface: add note for driver development i2c: mux: demux-pinctrl: run properly with multiple instances i2c: bcm-kona: fix inconsistent indenting i2c: rcar: use proper device with dma_mapping_error i2c: sh_mobile: use proper device with dma_mapping_error i2c: mux: demux-pinctrl: invalidate properly when switching fails
Diffstat (limited to 'Documentation/i2c/fault-codes')