Apply patch from Jonathan Herbst re change from create_proc_entry to proc_create

Also removed trailing whitespace from entire file.