Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'pcmcia-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux

Pull pcmcia update from Dominik Brodowski:
"Improve the use of the kobj API in the core of the Linux PCMCIA
subsystem"

* 'pcmcia-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux:
pcmcia: Switch to using the new API kobj_to_dev()

+2 -2
+2 -2
drivers/pcmcia/cistpl.c
··· 1554 1554 if (off + count > size) 1555 1555 count = size - off; 1556 1556 1557 - s = to_socket(container_of(kobj, struct device, kobj)); 1557 + s = to_socket(kobj_to_dev(kobj)); 1558 1558 1559 1559 if (!(s->state & SOCKET_PRESENT)) 1560 1560 return -ENODEV; ··· 1581 1581 if (error) 1582 1582 return error; 1583 1583 1584 - s = to_socket(container_of(kobj, struct device, kobj)); 1584 + s = to_socket(kobj_to_dev(kobj)); 1585 1585 1586 1586 if (off) 1587 1587 return -EINVAL;